Skip to content
Commit 3153495d authored by Miao Xie's avatar Miao Xie Committed by Li Zefan
Browse files

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: default avatarMiao Xie <miaox@cn.fujitsu.com>
Singed-off-by: default avatarLi Zefan <lizf@cn.fujitsu.com>
parent b9e03af0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment