fs: split off do_getxattr from getxattr
authorStefan Roesch <shr@fb.com>
Mon, 25 Apr 2022 00:13:50 +0000 (18:13 -0600)
committerJens Axboe <axboe@kernel.dk>
Mon, 25 Apr 2022 00:18:37 +0000 (18:18 -0600)
commitc975cad931570004b5f51248424a2a696fb65630
treeafa1574a1e118eabac5363a60443514d40ebf98e
parent1a91794ce8481a293c5ef432feb440aee1455619
fs: split off do_getxattr from getxattr

This splits off do_getxattr function from the getxattr function. This will
allow io_uring to call it from its io worker.

Signed-off-by: Stefan Roesch <shr@fb.com>
Acked-by: Christian Brauner <christian.brauner@ubuntu.com>
Link: https://lore.kernel.org/r/20220323154420.3301504-3-shr@fb.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/internal.h
fs/xattr.c