summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_drain.h
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2022-09-17 02:11:18 +0200
committerKees Cook <keescook@chromium.org>2024-01-22 20:45:39 +0100
commitbdd8f62431ebcf15902a5fce3336388e436405c6 (patch)
treeefbc4718f1dfcf8341d5f4b895fdd264d284fca3 /fs/xfs/xfs_drain.h
parentexec: remove useless comment (diff)
downloadlinux-bdd8f62431ebcf15902a5fce3336388e436405c6.tar.xz
linux-bdd8f62431ebcf15902a5fce3336388e436405c6.zip
exec: Add do_close_execat() helper
Consolidate the calls to allow_write_access()/fput() into a single place, since we repeat this code pattern. Add comments around the callers for the details on it. Link: https://lore.kernel.org/r/202209161637.9EDAF6B18@keescook Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'fs/xfs/xfs_drain.h')
0 files changed, 0 insertions, 0 deletions