diff options
Diffstat (limited to 'fs/ext3')
-rw-r--r-- | fs/ext3/namei.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext3/namei.c b/fs/ext3/namei.c index b45c88bd5f73..906731a20f1a 100644 --- a/fs/ext3/namei.c +++ b/fs/ext3/namei.c | |||
@@ -2045,7 +2045,7 @@ static int ext3_rmdir (struct inode * dir, struct dentry *dentry) | |||
2045 | "empty directory has nlink!=2 (%d)", | 2045 | "empty directory has nlink!=2 (%d)", |
2046 | inode->i_nlink); | 2046 | inode->i_nlink); |
2047 | inode->i_version++; | 2047 | inode->i_version++; |
2048 | inode->i_nlink = 0; | 2048 | clear_nlink(inode); |
2049 | /* There's no need to set i_disksize: the fact that i_nlink is | 2049 | /* There's no need to set i_disksize: the fact that i_nlink is |
2050 | * zero will ensure that the right thing happens during any | 2050 | * zero will ensure that the right thing happens during any |
2051 | * recovery. */ | 2051 | * recovery. */ |