summaryrefslogtreecommitdiff
path: root/fs/notify
diff options
context:
space:
mode:
authorChristian Brauner <brauner@kernel.org>2023-03-27 20:22:52 +0200
committerChristian Brauner <brauner@kernel.org>2023-04-03 11:16:57 +0200
commitca7707f5430ad6b1c9cb7cee0a7f67d69328bb2d (patch)
tree1c154103939671c5ffe46332ec3f7ef28ada69b2 /fs/notify
parent6ae930d9dbf2d093157be33428538c91966d8a9f (diff)
fork: use pidfd_prepare()
Stop open-coding get_unused_fd_flags() and anon_inode_getfile(). That's brittle just for keeping the flags between both calls in sync. Use the dedicated helper. Message-Id: <20230327-pidfd-file-api-v1-2-5c0e9a3158e4@kernel.org> Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'fs/notify')
0 files changed, 0 insertions, 0 deletions