diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2024-01-12 18:04:01 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2024-01-12 18:04:01 -0800 |
commit | f16ab99c2eba233bc97b9f9cc374f7a371fcc363 (patch) | |
tree | d0074bf598a1e2982b72ba3bac8c28fe85ee5cc5 /include/linux | |
parent | 1acc24b300bfa8b2f03daabbba67db600fd38e08 (diff) | |
parent | bbe6a7c899e7f265c5a6d01a178336a405e98ed6 (diff) | |
download | lwn-f16ab99c2eba233bc97b9f9cc374f7a371fcc363.tar.gz lwn-f16ab99c2eba233bc97b9f9cc374f7a371fcc363.zip |
Merge tag 'pull-bcachefs-fix' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
Pull bcachefs locking fix from Al Viro:
"Fix broken locking in bch2_ioctl_subvolume_destroy()"
* tag 'pull-bcachefs-fix' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
bch2_ioctl_subvolume_destroy(): fix locking
new helper: user_path_locked_at()
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/namei.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/namei.h b/include/linux/namei.h index 3100371b5e32..74e0cc14ebf8 100644 --- a/include/linux/namei.h +++ b/include/linux/namei.h @@ -66,6 +66,7 @@ extern struct dentry *kern_path_create(int, const char *, struct path *, unsigne extern struct dentry *user_path_create(int, const char __user *, struct path *, unsigned int); extern void done_path_create(struct path *, struct dentry *); extern struct dentry *kern_path_locked(const char *, struct path *); +extern struct dentry *user_path_locked_at(int , const char __user *, struct path *); int vfs_path_parent_lookup(struct filename *filename, unsigned int flags, struct path *parent, struct qstr *last, int *type, const struct path *root); |