Linux NFS development
 help / color / mirror / Atom feed
* [PATCH 0/6 v2] Change ->mkdir() and vfs_mkdir() to return a dentry
@ 2025-02-27  1:32 NeilBrown
  2025-02-27  1:32 ` [PATCH 1/6] Change inode_operations.mkdir to return struct dentry * NeilBrown
                   ` (6 more replies)
  0 siblings, 7 replies; 13+ messages in thread
From: NeilBrown @ 2025-02-27  1:32 UTC (permalink / raw)
  To: Alexander Viro, Christian Brauner, Jan Kara
  Cc: Chuck Lever, Jeff Layton, Trond Myklebust, Anna Schumaker,
	linux-nfs, Ilya Dryomov, Xiubo Li, ceph-devel, Miklos Szeredi,
	linux-fsdevel, Richard Weinberger, Anton Ivanov, Johannes Berg,
	linux-um, linux-kernel

This revised series contains a few clean-ups as requested by various
people but no substantial changes.

It is based on vfs/vfs-6.15.async.dir plus vfs/vfs-6.15.sysv: I dropped the
change to sysv as it seemed pointless preserving them.

I reviewed the mkdir functions in many (all?) filesystems and found a
few that use d_instantiate() on an unlocked inode (after
unlock_new_inode()) and also support export_operations.  These could
potentially call d_instantiate() on a directory inode which is already
attached to an dentry, though making that happen would usually require
guessing the filehandle correctly.  I haven't tried to address those
here, (this patch set doesn't make that situation any worse) but I may
in the future.

Thanks,
NeilBrown


 [PATCH 1/6] Change inode_operations.mkdir to return struct dentry *
 [PATCH 2/6] hostfs: store inode in dentry after mkdir if possible.
 [PATCH 3/6] ceph: return the correct dentry on mkdir
 [PATCH 4/6] fuse: return correct dentry for ->mkdir
 [PATCH 5/6] nfs: change mkdir inode_operation to return alternate
 [PATCH 6/6] VFS: Change vfs_mkdir() to return the dentry.

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2025-03-05 10:53 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-27  1:32 [PATCH 0/6 v2] Change ->mkdir() and vfs_mkdir() to return a dentry NeilBrown
2025-02-27  1:32 ` [PATCH 1/6] Change inode_operations.mkdir to return struct dentry * NeilBrown
2025-02-27 11:34   ` Christian Brauner
2025-02-27  1:32 ` [PATCH 2/6] hostfs: store inode in dentry after mkdir if possible NeilBrown
2025-02-27  1:32 ` [PATCH 3/6] ceph: return the correct dentry on mkdir NeilBrown
2025-02-27 19:01   ` Christian Brauner
2025-02-27  1:32 ` [PATCH 4/6] fuse: return correct dentry for ->mkdir NeilBrown
2025-03-03 14:46   ` Miklos Szeredi
2025-03-04 21:48     ` [PATCH 4/6 - REVISED] " NeilBrown
2025-03-05 10:53       ` Christian Brauner
2025-02-27  1:32 ` [PATCH 5/6] nfs: change mkdir inode_operation to return alternate dentry if needed NeilBrown
2025-02-27  1:32 ` [PATCH 6/6] VFS: Change vfs_mkdir() to return the dentry NeilBrown
2025-02-27 19:02 ` [PATCH 0/6 v2] Change ->mkdir() and vfs_mkdir() to return a dentry Christian Brauner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox