|
@@ -1916,7 +1916,7 @@ struct reiserfs_de_head {
|
|
|
|
|
|
/* empty directory contains two entries "." and ".." and their headers */
|
|
/* empty directory contains two entries "." and ".." and their headers */
|
|
#define EMPTY_DIR_SIZE \
|
|
#define EMPTY_DIR_SIZE \
|
|
-(DEH_SIZE * 2 + ROUND_UP (strlen (".")) + ROUND_UP (strlen ("..")))
|
|
|
|
|
|
+(DEH_SIZE * 2 + ROUND_UP (sizeof(".") - 1) + ROUND_UP (sizeof("..") - 1))
|
|
|
|
|
|
/* old format directories have this size when empty */
|
|
/* old format directories have this size when empty */
|
|
#define EMPTY_DIR_SIZE_V1 (DEH_SIZE * 2 + 3)
|
|
#define EMPTY_DIR_SIZE_V1 (DEH_SIZE * 2 + 3)
|