fs: make the pipe_buf_operations ->confirm operation optional
authorChristoph Hellwig <hch@lst.de>
Wed, 20 May 2020 15:58:15 +0000 (17:58 +0200)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 20 May 2020 16:11:26 +0000 (12:11 -0400)
commitb8d9e7f2411b0744df2ec33e80d7698180fef21a
tree60c2b6c0ab693d3a2d7b6907cc6b2e61b2b52877
parent76887c256744740d6121af9bc4aa787712a1f694
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>
fs/pipe.c
fs/splice.c
include/linux/pipe_fs_i.h
kernel/relay.c
kernel/trace/trace.c
net/smc/smc_rx.c