|
@@ -55,9 +55,10 @@ static unsigned int ocfs2_resv_window_bits(struct ocfs2_reservation_map *resmap,
|
|
|
if (!(resv->r_flags & OCFS2_RESV_FLAG_DIR)) {
|
|
|
/* 8, 16, 32, 64, 128, 256, 512, 1024 */
|
|
|
bits = 4 << osb->osb_resv_level;
|
|
|
- } else
|
|
|
- bits = OCFS2_RESV_DIR_WINDOW_BITS;
|
|
|
-
|
|
|
+ } else {
|
|
|
+ /* For now, treat directories the same as files. */
|
|
|
+ bits = 4 << osb->osb_resv_level;
|
|
|
+ }
|
|
|
return bits;
|
|
|
}
|
|
|
|