summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorChristian Brauner <brauner@kernel.org>2026-07-23 15:42:51 +0200
committerChristian Brauner <brauner@kernel.org>2026-07-23 15:42:51 +0200
commit24f3a09163caad1dde3f801f1bafc69f1991a357 (patch)
tree6a503490beabc7a4e4af922d319cae86e6e09a84 /include/linux
parentdc59e4fea9d83f03bad6bddf3fa2e52491777482 (diff)
parent536227b814bd56478057a3b9839ca55cabe4af39 (diff)
Merge patch series "VFS: refactor lookup_open and add vfs_lookup()"
NeilBrown <neilb@ownmail.net> says: VFS: refactor lookup_open and add vfs_lookup() * patches from https://patch.msgid.link/20260714230534.776886-1-neilb@ownmail.net: VFS: add vfs_lookup_open() for nfsd VFS: move delegated_inode retry loop into lookup_open() VFS: move mnt_want_write() and locking into lookup_open() Link: https://patch.msgid.link/20260714230534.776886-1-neilb@ownmail.net Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/namei.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/namei.h b/include/linux/namei.h
index ebe6e29f7e93..86d657b24fc6 100644
--- a/include/linux/namei.h
+++ b/include/linux/namei.h
@@ -97,6 +97,9 @@ struct dentry *start_creating_dentry(struct dentry *parent,
struct dentry *start_removing_dentry(struct dentry *parent,
struct dentry *child);
+struct file *vfs_lookup_open(struct path *parent, struct qstr *last,
+ int open_flag, umode_t mode);
+
/* end_creating - finish action started with start_creating
* @child: dentry returned by start_creating() or vfs_mkdir()
*