fs: make the pipe_buf_operations ->steal operation optional
authorChristoph Hellwig <hch@lst.de>
Wed, 20 May 2020 15:58:14 +0000 (17:58 +0200)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 20 May 2020 16:11:26 +0000 (12:11 -0400)
commit76887c256744740d6121af9bc4aa787712a1f694
treea55b809de66779126d5821d90c35679c312875df
parent6797d97ab9d1b0ef94bf6063920669409dc2d730
fs: make the pipe_buf_operations ->steal operation optional

Just return 1 for failure if it is not present.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/splice.c
include/linux/pipe_fs_i.h
kernel/trace/trace.c
net/smc/smc_rx.c