[PATCH 00/26] Some final dentry_unhash cleanup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Christoph, Al,

This is some final (I think!) cleanup on the dentry_unhash thing.  There 
are now only three remaining callers:

 - autofs4 does tricky things that I don't want to fully get into...
   I'm following up with Ian and the list.
 - hpfs has some heroics on ENOSPC that I don't want to touch.
 - ncpfs basically the one fs that uses dentry_unhash as intended.

There is also a fix for ncpfs's rename, which wasn't performing the same 
check as rmdir was.

I did a quick check of 'git grep d_unhashed fs' results to look for any 
file systems that might care about whether the dentry was hashed or not 
during rmdir/rename.  The only thing that looked scary was 
configfs_drop_dentry, but as far as I can tell it looks okay.

This is on top of the previous patch set.  Each patch CCs 
appropriate maintainers/lists.  The whole thing (these patches and 
the original series) can be grabbed from

	git://git.kernel.org/pub/scm/linux/kernel/git/sage/ceph-client.git more_dentry_unhash

Thanks!
sage


Sage Weil (26):
  bfs: remove unnecessary dentry_unhash on dir rename
  sysv: remove unnecessary dentry_unhash from rmdir, dir rename
  jffs2: remove unnecessary dentry_unhash from rmdir, dir rename
  jfs: remove unnecessary dentry_unhash from rmdir, dir rename
  logfs: remove unnecessary dentry_unhash from rmdir, dir rename
  nilfs2: remove unnecessary dentry_unhash from rmdir, dir rename
  ubifs: remove unnecessary dentry_unhash from rmdir, dir rename
  ufs: remove unnecessary dentry_unhash from rmdir, dir rename
  reiserfs: remove unnecessary dentry_unhash from rmdir, dir rename
  udf: remove unnecessary dentry_unhash from rmdir, dir rename
  omfs: remove unnecessary dentry_unhash on rmdir, dir rneame
  hfs: remove unnecessary dentry_unhash on rmdir, dir rename
  hfsplus: remove unnecessary dentry_unhash on rmdir, dir rename
  hostfs: remove unnecessary dentry_unhash on rmdir, dir rename
  ecryptfs: remove unnecessary dentry_unhash on rmdir, dir rename
  ncpfs: document dentry_unhash usage
  ncpfs: fix rename over directory with dangling references
  9p: remove unnecessary dentry_unhash on rmdir, dir rename
  affs: remove unnecessary dentry_unhash on rmdir, dir rename
  afs: remove unnecessary dentry_unhash on rmdir, dir rename
  coda: remove unnecessary dentry_unhash on rmdir, dir rename
  fuse: remove unnecessary dentry_unhash on rmdir, dir rename
  minix: remove unnecessary dentry_unhash on rmdir, dir rename
  hpfs: remove unnecessary dentry_unhash on rmdir, dir rename
  fat: remove unnecessary dentry_unhash on rmdir, dir rename
  configfs: remove unnecessary dentry_unhash on rmdir, dir rename

 fs/9p/vfs_inode.c       |    4 ----
 fs/affs/namei.c         |    5 -----
 fs/afs/dir.c            |    5 -----
 fs/bfs/dir.c            |    3 ---
 fs/coda/dir.c           |    5 -----
 fs/configfs/dir.c       |    2 --
 fs/ecryptfs/inode.c     |    5 -----
 fs/fat/namei_msdos.c    |    5 -----
 fs/fat/namei_vfat.c     |    5 -----
 fs/fuse/dir.c           |    5 -----
 fs/hfs/dir.c            |    6 ------
 fs/hfsplus/dir.c        |    8 ++------
 fs/hostfs/hostfs_kern.c |    5 -----
 fs/hpfs/namei.c         |    5 -----
 fs/jffs2/dir.c          |    5 -----
 fs/jfs/namei.c          |    5 -----
 fs/logfs/dir.c          |    5 -----
 fs/minix/namei.c        |    5 -----
 fs/ncpfs/dir.c          |   15 +++++++++++++--
 fs/nilfs2/namei.c       |    5 -----
 fs/omfs/dir.c           |   11 +++--------
 fs/reiserfs/namei.c     |    5 -----
 fs/reiserfs/xattr.c     |    1 -
 fs/sysv/namei.c         |    5 -----
 fs/ubifs/dir.c          |    5 -----
 fs/udf/namei.c          |    5 -----
 fs/ufs/namei.c          |    5 -----
 27 files changed, 18 insertions(+), 127 deletions(-)

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


[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux