diff options
author | Christoph Hellwig <hch@lst.de> | 2020-05-20 18:58:14 +0300 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2020-05-20 19:11:26 +0300 |
commit | 76887c256744740d6121af9bc4aa787712a1f694 (patch) | |
tree | a55b809de66779126d5821d90c35679c312875df /kernel/trace | |
parent | 6797d97ab9d1b0ef94bf6063920669409dc2d730 (diff) | |
download | linux-76887c256744740d6121af9bc4aa787712a1f694.tar.xz |
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>
Diffstat (limited to 'kernel/trace')
-rw-r--r-- | kernel/trace/trace.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c index bc9783797d27..29fa25cfb6c2 100644 --- a/kernel/trace/trace.c +++ b/kernel/trace/trace.c @@ -7576,7 +7576,6 @@ static bool buffer_pipe_buf_get(struct pipe_inode_info *pipe, static const struct pipe_buf_operations buffer_pipe_buf_ops = { .confirm = generic_pipe_buf_confirm, .release = buffer_pipe_buf_release, - .steal = generic_pipe_buf_nosteal, .get = buffer_pipe_buf_get, }; |