Skip to content
Commit 19f4e163 authored by Stefan Roesch's avatar Stefan Roesch Committed by Greg Kroah-Hartman
Browse files

fs: split off setxattr_copy and do_setxattr function from setxattr



[ Upstream commit 1a91794c ]

This splits of the setup part of the function setxattr in its own
dedicated function called setxattr_copy. In addition it also exposes a new
function called do_setxattr for making the setxattr call.

This makes it possible to call these two functions from io_uring in the
processing of an xattr request.

Signed-off-by: default avatarStefan Roesch <shr@fb.com>
Acked-by: default avatarChristian Brauner <christian.brauner@ubuntu.com>
Link: https://lore.kernel.org/r/20220323154420.3301504-2-shr@fb.com


Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
Stable-dep-of: 06bbaa6d ("[coredump] don't use __kernel_write() on kmap_local_page()")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent a0e3719e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment