Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment