fs: file_remove_privs_flags()
authorKent Overstreet <kent.overstreet@linux.dev>
Wed, 28 Feb 2024 23:28:48 +0000 (18:28 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Thu, 14 Mar 2024 01:22:25 +0000 (21:22 -0400)
commit66a67c860cce3643248f7e80ee095b946829a342
treef9a312f425b75cffe2bd276b37b70ac60dd0431b
parent7efa287526f02a54a0a9abf358e15623c5b09f93
fs: file_remove_privs_flags()

Rename and export __file_remove_privs(); for a buffered write path that
doesn't take the inode lock we need to be able to check if the operation
needs to do work first.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: Christian Brauner <brauner@kernel.org>
fs/inode.c
include/linux/fs.h