diff options
author | Christoph Hellwig <hch@lst.de> | 2021-03-25 11:22:09 +0300 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2021-04-16 07:13:04 +0300 |
commit | 42eb0d54c08a0331d6d295420f602237968d792b (patch) | |
tree | bd62e76216c4a1092a3d966d2a3419a78591b934 /drivers/isdn | |
parent | a38fd8748464831584a19438cbb3082b5a2dab15 (diff) | |
download | linux-42eb0d54c08a0331d6d295420f602237968d792b.tar.xz |
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 'drivers/isdn')
0 files changed, 0 insertions, 0 deletions