summaryrefslogtreecommitdiffstats
path: root/kernel/fs/libfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/fs/libfs.c')
-rw-r--r--kernel/fs/libfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/fs/libfs.c b/kernel/fs/libfs.c
index 02813592e..f4641fd27 100644
--- a/kernel/fs/libfs.c
+++ b/kernel/fs/libfs.c
@@ -1176,7 +1176,7 @@ void make_empty_dir_inode(struct inode *inode)
inode->i_uid = GLOBAL_ROOT_UID;
inode->i_gid = GLOBAL_ROOT_GID;
inode->i_rdev = 0;
- inode->i_size = 2;
+ inode->i_size = 0;
inode->i_blkbits = PAGE_SHIFT;
inode->i_blocks = 0;