fs: add __remove_file_privs() with flags parameter
authorStefan Roesch <shr@fb.com>
Thu, 23 Jun 2022 17:51:51 +0000 (10:51 -0700)
committerJens Axboe <axboe@kernel.dk>
Mon, 25 Jul 2022 00:39:31 +0000 (18:39 -0600)
commitfaf99b563558f74188b7ca34faae1c1da49a7261
treef5ceaeaa57b2a07385bfafb22a7fde29add34ebf
parent8017553980d0bbfef3e66c583363828565afd6da
fs: add __remove_file_privs() with flags parameter

This adds the function __remove_file_privs, which allows the caller to
pass the kiocb flags parameter.

No intended functional changes in this patch.

Signed-off-by: Stefan Roesch <shr@fb.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Christian Brauner (Microsoft) <brauner@kernel.org>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Link: https://lore.kernel.org/r/20220623175157.1715274-9-shr@fb.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/inode.c