]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
fuse: drop dentry on failed revalidate
authorAnand Avati <avati@redhat.com>
Thu, 5 Sep 2013 09:44:44 +0000 (11:44 +0200)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 5 Sep 2013 20:23:54 +0000 (16:23 -0400)
commit46ea1562da792a94ee8391f7aed882eb7771e18c
tree85d07b496e8331a681ced20159bbd39ad9188e5d
parente2a6b95236eba5341253a2e4a50946355f887303
fuse: drop dentry on failed revalidate

Drop a subtree when we find that it has moved or been delated.  This can be
done as long as there are no submounts under this location.

If the directory was moved and we come across the same directory in a
future lookup it will be reconnected by d_materialise_unique().

Signed-off-by: Anand Avati <avati@redhat.com>
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/fuse/dir.c