diff options
| author | Jann Horn <[email protected]> | 2019-01-23 14:19:18 +0000 |
|---|---|---|
| committer | Al Viro <[email protected]> | 2019-02-01 07:01:45 +0000 |
| commit | 01e7187b41191376cee8bea8de9f907b001e87b4 (patch) | |
| tree | 024b8f4afcf6bb85a5daafc475c47187b40435d3 /security/selinux/hooks.c | |
| parent | splice: don't merge into linked buffers (diff) | |
| download | kernel-01e7187b41191376cee8bea8de9f907b001e87b4.tar.gz kernel-01e7187b41191376cee8bea8de9f907b001e87b4.zip | |
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 <[email protected]>
Signed-off-by: Jann Horn <[email protected]>
Signed-off-by: Al Viro <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions
