aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/backref.c
diff options
context:
space:
mode:
authorWang Shilong <wangshilong1991@gmail.com>2014-12-24 14:45:30 +0800
committerChris Mason <clm@fb.com>2015-01-02 14:47:55 -0500
commitc7cfb8a5405a34777d670f7a5441bb2c7ca9730f (patch)
tree4e960a9e39362a5cd5f6e704b4980e3f4da4004e /fs/btrfs/backref.c
parentBtrfs: abort transaction if we don't find the block group (diff)
downloadlinux-dev-c7cfb8a5405a34777d670f7a5441bb2c7ca9730f.tar.xz
linux-dev-c7cfb8a5405a34777d670f7a5441bb2c7ca9730f.zip
Btrfs: call inode_dec_link_count() on mkdir error path
In btrfs_mkdir(), if it fails to create dir, we should clean up existed items, setting inode's link properly to make sure it could be cleaned up properly. Signed-off-by: Wang Shilong <wangshilong1991@gmail.com> Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'fs/btrfs/backref.c')
0 files changed, 0 insertions, 0 deletions