diff options
author | NeilBrown <neilb@suse.de> | 2025-02-27 12:32:57 +1100 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2025-03-05 11:52:50 +0100 |
commit | 8376583b84a1937196514dbe380917d61af29978 (patch) | |
tree | 358757976050d7095bc4b61f41f8316cc79aa485 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | d701902c13dfc40b83b52e41155824c038ac19d2 (diff) |
nfs: change mkdir inode_operation to return alternate dentry if needed.
mkdir now allows a different dentry to be returned which is sometimes
relevant for nfs.
This patch changes the nfs_rpc_ops mkdir op to return a dentry, and
passes that back to the caller.
The mkdir nfs_rpc_op will return NULL if the original dentry should be
used. This matches the mkdir inode_operation.
nfs4_do_create() is duplicated to nfs4_do_mkdir() which is changed to
handle the specifics of directories. Consequently the current special
handling for directories is removed from nfs4_do_create()
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: NeilBrown <neilb@suse.de>
Link: https://lore.kernel.org/r/20250227013949.536172-6-neilb@suse.de
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions