mirror of
https://github.com/lkl/linux.git
synced 2025-12-19 16:13:19 +09:00
xattr: constify value argument in vfs_setxattr()
Now that we don't perform translations directly in vfs_setxattr() anymore we can constify the @value argument in vfs_setxattr(). This also allows us to remove the hack to cast from a const in ovl_do_setxattr(). Signed-off-by: Christian Brauner (Microsoft) <brauner@kernel.org> Reviewed-by: Seth Forshee (DigitalOcean) <sforshee@kernel.org>
This commit is contained in:
committed by
Christian Brauner (Microsoft)
parent
7e1401acd9
commit
6344e66970
@@ -61,7 +61,7 @@ int __vfs_setxattr_locked(struct user_namespace *, struct dentry *,
|
||||
const char *, const void *, size_t, int,
|
||||
struct inode **);
|
||||
int vfs_setxattr(struct user_namespace *, struct dentry *, const char *,
|
||||
void *, size_t, int);
|
||||
const void *, size_t, int);
|
||||
int __vfs_removexattr(struct user_namespace *, struct dentry *, const char *);
|
||||
int __vfs_removexattr_locked(struct user_namespace *, struct dentry *,
|
||||
const char *, struct inode **);
|
||||
|
||||
Reference in New Issue
Block a user