Skip to content
Commit 01e7187b authored by Jann Horn's avatar Jann Horn Committed by Al Viro
Browse files

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: default avatarAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: default avatarJann Horn <jannh@google.com>
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent a0ce2f0a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment