xattr: constify value argument in vfs_setxattr()
authorChristian Brauner <brauner@kernel.org>
Mon, 29 Aug 2022 12:38:45 +0000 (14:38 +0200)
committerChristian Brauner (Microsoft) <brauner@kernel.org>
Wed, 31 Aug 2022 14:38:07 +0000 (16:38 +0200)
commit6344e66970c619a1623f457910e78819076e9104
treef67d5becd46c6c1cb7f9a885a2ded093287941e8
parent7e1401acd9f2807ff271100c5ce1fa84bf27a252
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>
fs/overlayfs/overlayfs.h
fs/xattr.c
include/linux/xattr.h