OSDN Git Service

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)
commit7a1b1e70280a9e0185a8ef80a8b4dbf4dc87772a
tree275c702f7b510168f162de80d6dcc0d7acaa2c77
parent75cb857d2618cca810b8bf13ba5b2ceaaf26ba3d
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