Skip to content

Commit 3d866c3

Browse files
author
Al Viro
committed
ksmbd_vfs_set_init_posix_acl(): constify path argument
Acked-by: Namjae Jeon <linkinjeon@kernel.org> Reviewed-by: Christian Brauner <brauner@kernel.org> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
1 parent e74e751 commit 3d866c3

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

fs/smb/server/vfs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1856,7 +1856,7 @@ void ksmbd_vfs_posix_lock_unblock(struct file_lock *flock)
18561856
}
18571857

18581858
int ksmbd_vfs_set_init_posix_acl(struct mnt_idmap *idmap,
1859-
struct path *path)
1859+
const struct path *path)
18601860
{
18611861
struct posix_acl_state acl_state;
18621862
struct posix_acl *acls;

fs/smb/server/vfs.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ int ksmbd_vfs_get_dos_attrib_xattr(struct mnt_idmap *idmap,
164164
struct dentry *dentry,
165165
struct xattr_dos_attrib *da);
166166
int ksmbd_vfs_set_init_posix_acl(struct mnt_idmap *idmap,
167-
struct path *path);
167+
const struct path *path);
168168
int ksmbd_vfs_inherit_posix_acl(struct mnt_idmap *idmap,
169169
const struct path *path,
170170
struct inode *parent_inode);

0 commit comments

Comments
 (0)