-
- Downloads
pipe: stop using ->can_merge
Al Viro pointed out that since there is only one pipe buffer type to which new data can be appended, it isn't necessary to have a ->can_merge field in struct pipe_buf_operations, we can just check for a magic type. Suggested-by:Al Viro <viro@zeniv.linux.org.uk> Signed-off-by:
Jann Horn <jannh@google.com> Signed-off-by:
Al Viro <viro@zeniv.linux.org.uk>
Showing
- fs/pipe.c 16 additions, 4 deletionsfs/pipe.c
- fs/splice.c 0 additions, 4 deletionsfs/splice.c
- include/linux/pipe_fs_i.h 0 additions, 7 deletionsinclude/linux/pipe_fs_i.h
- kernel/relay.c 0 additions, 1 deletionkernel/relay.c
- kernel/trace/trace.c 0 additions, 2 deletionskernel/trace/trace.c
- net/smc/smc_rx.c 0 additions, 1 deletionnet/smc/smc_rx.c
Loading
Please register or sign in to comment