diff options
author | 2021-03-25 09:22:09 +0100 | |
---|---|---|
committer | 2021-04-16 00:13:04 -0400 | |
commit | 42eb0d54c08a0331d6d295420f602237968d792b (patch) | |
tree | bd62e76216c4a1092a3d966d2a3419a78591b934 /fs/dlm/lowcomms.h | |
parent | Linux 5.12-rc2 (diff) | |
download | linux-42eb0d54c08a0331d6d295420f602237968d792b.tar.gz linux-42eb0d54c08a0331d6d295420f602237968d792b.tar.bz2 linux-42eb0d54c08a0331d6d295420f602237968d792b.zip |
fs: split receive_fd_replace from __receive_fd
receive_fd_replace shares almost no code with the general case, so split
it out. Also remove the "Bump the sock usage counts" comment from
both copies, as that is now what __receive_sock actually does.
[AV: ... and make the only user of receive_fd_replace() choose between
it and receive_fd() according to what userland had passed to it in
flags]
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/dlm/lowcomms.h')
0 files changed, 0 insertions, 0 deletions