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_inherit_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 e74e7515 a67e08f7

+2 -2
+1 -1
fs/smb/server/vfs.c
··· 1909 1909 } 1910 1910 1911 1911 int ksmbd_vfs_inherit_posix_acl(struct mnt_idmap *idmap, 1912 - struct path *path, struct inode *parent_inode) 1912 + const struct path *path, struct inode *parent_inode) 1913 1913 { 1914 1914 struct posix_acl *acls; 1915 1915 struct posix_acl_entry *pace;
+1 -1
fs/smb/server/vfs.h
··· 166 166 int ksmbd_vfs_set_init_posix_acl(struct mnt_idmap *idmap, 167 167 struct path *path); 168 168 int ksmbd_vfs_inherit_posix_acl(struct mnt_idmap *idmap, 169 - struct path *path, 169 + const struct path *path, 170 170 struct inode *parent_inode); 171 171 #endif /* __KSMBD_VFS_H__ */