]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: take the last remnants of ->d_fsdata use out
authorAl Viro <viro@ZenIV.linux.org.uk>
Sun, 13 May 2018 18:03:18 +0000 (19:03 +0100)
committerDavid Sterba <dsterba@suse.com>
Mon, 28 May 2018 16:07:37 +0000 (18:07 +0200)
commit34b0ca617d458a001cf163a89689f1dd6e57d829
tree275c702f7b510168f162de80d6dcc0d7acaa2c77
parent6eb886e832e979d7330e1bc4b3fe25aa0636c90d
btrfs: take the last remnants of ->d_fsdata use out

[spotted while going through ->d_fsdata handling around d_splice_alias();
don't really care which tree that goes through]

The only thing even looking at ->d_fsdata in there (since 2012)
had been kfree(dentry->d_fsdata) in btrfs_dentry_delete().  Which,
incidentally, is all btrfs_dentry_delete() does.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/inode.c