From: Christian Brauner Date: Thu, 27 Feb 2025 11:33:26 +0000 (+0100) Subject: Merge patch series "Change inode_operations.mkdir to return struct dentry *" X-Git-Tag: v6.15-rc1~247^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=21432f9b5eda2f531dc029d8422280106834d5f7;p=thirdparty%2Fkernel%2Fstable.git Merge patch series "Change inode_operations.mkdir to return struct dentry *" NeilBrown says: This revised series contains a few clean-ups as requested by various people but no substantial changes. 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 a 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. * patches from https://lore.kernel.org/r/20250227013949.536172-2-neilb@suse.de: VFS: Change vfs_mkdir() to return the dentry. nfs: change mkdir inode_operation to return alternate dentry if needed. fuse: return correct dentry for ->mkdir ceph: return the correct dentry on mkdir hostfs: store inode in dentry after mkdir if possible. Change inode_operations.mkdir to return struct dentry * Link: https://lore.kernel.org/r/20250227013949.536172-2-neilb@suse.de Signed-off-by: Christian Brauner --- 21432f9b5eda2f531dc029d8422280106834d5f7