diff options
| author | 2025-11-11 09:12:50 -0500 | |
|---|---|---|
| committer | 2025-11-12 09:38:36 +0100 | |
| commit | 85bbffcad7307e2ca6136be657cc21b0e1c42241 (patch) | |
| tree | d1ac64d2179f773bc2e1644cdc53d584ac2c6b94 /tools/lib/python/kdoc/python_version.py | |
| parent | vfs: break parent dir delegations in open(..., O_CREAT) codepath (diff) | |
vfs: clean up argument list for vfs_create()
As Neil points out:
"I would be in favour of dropping the "dir" arg because it is always
d_inode(dentry->d_parent) which is stable."
...and...
"Also *every* caller of vfs_create() passes ".excl = true". So maybe we
don't need that arg at all."
Drop both arguments from vfs_create() and fix up the callers.
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: NeilBrown <neil@brown.name>
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Link: https://patch.msgid.link/20251111-dir-deleg-ro-v6-9-52f3feebb2f2@kernel.org
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
