X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=ldiskfs%2Fkernel_patches%2Fpatches%2Fext3-nlinks-2.6.22-vanilla.patch;h=0f775eee7e4db496cbbe0b097c190fa48d4eebac;hb=5a017da9c108fe00f882672e454ba9eabddf2d71;hp=761c72c25e15a2a7890f66c24610515f363405b2;hpb=255a6ea1612c3b786951ae5b09d37d15ca820cd2;p=fs%2Flustre-release.git diff --git a/ldiskfs/kernel_patches/patches/ext3-nlinks-2.6.22-vanilla.patch b/ldiskfs/kernel_patches/patches/ext3-nlinks-2.6.22-vanilla.patch index 761c72c..0f775ee 100644 --- a/ldiskfs/kernel_patches/patches/ext3-nlinks-2.6.22-vanilla.patch +++ b/ldiskfs/kernel_patches/patches/ext3-nlinks-2.6.22-vanilla.patch @@ -43,15 +43,6 @@ Index: linux-2.6.12/fs/ext3/namei.c return -EMLINK; retry: -@@ -1726,7 +1732,7 @@ retry: - inode->i_size = EXT3_I(inode)->i_disksize = inode->i_sb->s_blocksize; - dir_block = ext3_bread (handle, inode, 0, 1, &err); - if (!dir_block) { -- drop_nlink(inode); /* is this nlink == 0? */ -+ ext3_dec_count(handle, inode); /* is this nlink == 0? */ - ext3_mark_inode_dirty(handle, inode); - iput (inode); - goto out_stop; @@ -1758,7 +1764,7 @@ retry: iput (inode); goto out_stop;