1 Index: linux-stage/fs/ext4/namei.c
2 ===================================================================
3 --- linux-stage.orig/fs/ext4/namei.c
4 +++ linux-stage/fs/ext4/namei.c
5 @@ -1709,9 +1709,8 @@ static void ext4_inc_count(handle_t *han
7 static void ext4_dec_count(handle_t *handle, struct inode *inode)
10 - if (S_ISDIR(inode->i_mode) && inode->i_nlink == 0)
12 + if (!S_ISDIR(inode->i_mode) || inode->i_nlink > 2)