diff options
author | Kees Cook <keescook@chromium.org> | 2020-06-09 16:21:38 -0700 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2020-07-13 11:03:45 -0700 |
commit | 910d2f16ac90463a1f5b03d53246c443e2b354b9 (patch) | |
tree | 41a2a88d4cd7dd1de2ce8221d2dc7c2cc96e773e /fs/file.c | |
parent | deefa7f3505ae2fb6a7cb75f50134b65a1dd1494 (diff) | |
download | lwn-910d2f16ac90463a1f5b03d53246c443e2b354b9.tar.gz lwn-910d2f16ac90463a1f5b03d53246c443e2b354b9.zip |
pidfd: Replace open-coded receive_fd()
Replace the open-coded version of receive_fd() with a call to the
new helper.
Thanks to Vamshi K Sthambamkadi <vamshi.k.sthambamkadi@gmail.com> for
catching a missed fput() in an earlier version of this patch.
Cc: Christoph Hellwig <hch@lst.de>
Cc: Jakub Kicinski <kuba@kernel.org>
Cc: netdev@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Reviewed-by: Sargun Dhillon <sargun@sargun.me>
Acked-by: Christian Brauner <christian.brauner@ubuntu.com>
Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'fs/file.c')
0 files changed, 0 insertions, 0 deletions