[PATCH 00/11] [v4] safely drop directory dentry on failed revalidate

From: Miklos Szeredi
Date: Thu Sep 05 2013 - 05:45:27 EST


Here's a series for fixing issues with d_drop on a directory dentry with
children and adding support for such dropped directories in fuse.

Address comments: kill ->leave() callback, select_parent() and
__check_submounts_and_drop().

Don't spam everybody: dropped most Cc's.

Thanks,
Miklos

---
Anand Avati (1):
fuse: drop dentry on failed revalidate

Miklos Szeredi (10):
vfs: restructure d_genocide()
vfs: add d_walk()
vfs: check submounts and drop atomically
vfs: check unlinked ancestors before mount
afs: use check_submounts_and_drop()
gfs2: use check_submounts_and_drop()
nfs: use check_submounts_and_drop()
sysfs: use check_submounts_and_drop()
fuse: use d_materialise_unique()
fuse: clean up return in fuse_dentry_revalidate()

---
fs/afs/dir.c | 10 +-
fs/dcache.c | 430 ++++++++++++++++++++++++++++++-------------------
fs/fuse/dir.c | 97 ++++++-----
fs/gfs2/dentry.c | 9 +-
fs/internal.h | 1 +
fs/namespace.c | 9 ++
fs/nfs/dir.c | 9 +-
fs/sysfs/dir.c | 20 +--
include/linux/dcache.h | 1 +
9 files changed, 340 insertions(+), 246 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/