[PATCH 0/4] [RFC] safely drop directory dentry on failed revalidate

From: Miklos Szeredi
Date: Tue Aug 06 2013 - 10:30:26 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.

I tested the fuse part, but not the other filesystems (AFS, GFS2, NFS, SYSFS).
The changes to filesystems are pretty trivial, though.

Thanks,
Miklos

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

Miklos Szeredi (3):
vfs: check submounts and drop atomically
vfs: check unlinked ancestors before mount
fuse: use d_materialise_unique()

---
fs/afs/dir.c | 6 +-
fs/dcache.c | 159 +++++++++++++++++++++++++++++++++++++++++++++++++
fs/fuse/dir.c | 76 ++++++++++-------------
fs/gfs2/dentry.c | 6 +-
fs/internal.h | 1 +
fs/namespace.c | 9 +++
fs/nfs/dir.c | 10 ++--
fs/sysfs/dir.c | 6 +-
include/linux/dcache.h | 1 +
9 files changed, 216 insertions(+), 58 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/