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.

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>

Al Viro 3d866c3b e74e7515

+2 -2
+1 -1
fs/smb/server/vfs.c
··· 1856 1856 } 1857 1857 1858 1858 int ksmbd_vfs_set_init_posix_acl(struct mnt_idmap *idmap, 1859 - struct path *path) 1859 + const struct path *path) 1860 1860 { 1861 1861 struct posix_acl_state acl_state; 1862 1862 struct posix_acl *acls;
+1 -1
fs/smb/server/vfs.h
··· 164 164 struct dentry *dentry, 165 165 struct xattr_dos_attrib *da); 166 166 int ksmbd_vfs_set_init_posix_acl(struct mnt_idmap *idmap, 167 - struct path *path); 167 + const struct path *path); 168 168 int ksmbd_vfs_inherit_posix_acl(struct mnt_idmap *idmap, 169 169 const struct path *path, 170 170 struct inode *parent_inode);