summaryrefslogtreecommitdiffstats
path: root/fs/btrfs
diff options
context:
space:
mode:
authorJ. Bruce Fields2014-02-18 00:03:57 +0100
committerAl Viro2014-08-07 20:40:10 +0200
commitda093a9b76efca0a7a217af538929e1ecb204466 (patch)
tree2ba563181c06bbcbd68fe4144f98e6a31d813d81 /fs/btrfs
parentdcache: d_splice_alias mustn't create directory aliases (diff)
downloadkernel-qcow2-linux-da093a9b76efca0a7a217af538929e1ecb204466.tar.gz
kernel-qcow2-linux-da093a9b76efca0a7a217af538929e1ecb204466.tar.xz
kernel-qcow2-linux-da093a9b76efca0a7a217af538929e1ecb204466.zip
dcache: d_splice_alias should ignore DCACHE_DISCONNECTED
Any IS_ROOT() alias should be safe to use; there's nothing special about DCACHE_DISCONNECTED dentries. Note that this is in fact useful for filesystems such as btrfs which can legimately encounter a directory with a preexisting IS_ROOT alias on a lookup that crosses into a subvolume. (Those aliases are currently marked DCACHE_DISCONNECTED--but not really for any good reason, and we'll change that soon.) Signed-off-by: J. Bruce Fields <bfields@redhat.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/btrfs')
0 files changed, 0 insertions, 0 deletions