diff options
author | Christoph Hellwig <hch@lst.de> | 2020-05-20 17:58:15 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2020-05-20 18:11:26 +0200 |
commit | b8d9e7f2411b0744df2ec33e80d7698180fef21a (patch) | |
tree | 60c2b6c0ab693d3a2d7b6907cc6b2e61b2b52877 /net/smc/smc_rx.c | |
parent | fs: make the pipe_buf_operations ->steal operation optional (diff) | |
download | linux-b8d9e7f2411b0744df2ec33e80d7698180fef21a.tar.xz linux-b8d9e7f2411b0744df2ec33e80d7698180fef21a.zip |
fs: make the pipe_buf_operations ->confirm operation optional
Just return 0 for success if it is not present.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'net/smc/smc_rx.c')
-rw-r--r-- | net/smc/smc_rx.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/smc/smc_rx.c b/net/smc/smc_rx.c index 5fe25279702d..fcfac59f8b72 100644 --- a/net/smc/smc_rx.c +++ b/net/smc/smc_rx.c @@ -130,7 +130,6 @@ out: } static const struct pipe_buf_operations smc_pipe_ops = { - .confirm = generic_pipe_buf_confirm, .release = smc_rx_pipe_buf_release, .get = generic_pipe_buf_get }; |