]> git.baikalelectronics.ru Git - 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)
commit42eaaf0945e7ee2b27fd9c89992430d6d21226d2
tree85d07b496e8331a681ced20159bbd39ad9188e5d
parente0b6c324e457ed30ea56bc4e49c07125704c90c4
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