]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: Fix incorrect inode nlink in btrfs_link()
authorMiao Xie <miaox@cn.fujitsu.com>
Wed, 13 Apr 2011 05:19:21 +0000 (13:19 +0800)
committerLi Zefan <lizf@cn.fujitsu.com>
Wed, 13 Apr 2011 06:25:32 +0000 (14:25 +0800)
commit1da7ef58230204a9ec0014b532f1f09f6bbb1c86
treeee1b57cff9be737fee9d4e35290e3c6586785de8
parent3902804549f1471934755c13447da3f93b913fcb
Btrfs: Fix incorrect inode nlink in btrfs_link()

Link count of the inode is not decreased if btrfs_set_inode_index()
fails.

Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Singed-off-by: Li Zefan <lizf@cn.fujitsu.com>
fs/btrfs/inode.c