Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

filename_lookup(): constify root argument

Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>

Al Viro 7b129f2e dd228575

+2 -2
+1 -1
fs/internal.h
··· 53 53 * namei.c 54 54 */ 55 55 extern int filename_lookup(int dfd, struct filename *name, unsigned flags, 56 - struct path *path, struct path *root); 56 + struct path *path, const struct path *root); 57 57 int do_rmdir(int dfd, struct filename *name); 58 58 int do_unlinkat(int dfd, struct filename *name); 59 59 int may_linkat(struct mnt_idmap *idmap, const struct path *link);
+1 -1
fs/namei.c
··· 2673 2673 } 2674 2674 2675 2675 int filename_lookup(int dfd, struct filename *name, unsigned flags, 2676 - struct path *path, struct path *root) 2676 + struct path *path, const struct path *root) 2677 2677 { 2678 2678 int retval; 2679 2679 struct nameidata nd;