Skip to content

Commit 055e9d5

Browse files
author
Al Viro
committed
ovl_lower_dir(): constify path argument
Reviewed-by: Christian Brauner <[email protected]> Signed-off-by: Al Viro <[email protected]>
1 parent 465309d commit 055e9d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/overlayfs/super.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ static int ovl_check_namelen(const struct path *path, struct ovl_fs *ofs,
394394
return err;
395395
}
396396

397-
static int ovl_lower_dir(const char *name, struct path *path,
397+
static int ovl_lower_dir(const char *name, const struct path *path,
398398
struct ovl_fs *ofs, int *stack_depth)
399399
{
400400
int fh_type;

0 commit comments

Comments
 (0)