diff options
author | 2016-10-11 13:53:25 -0700 | |
---|---|---|
committer | 2016-10-11 15:06:31 -0700 | |
commit | d37d41666408102bf0ac8e48d8efdce7b809e5f6 (patch) | |
tree | 89a771ab3ac640b7d9371cb922c9f1df14679e70 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | pipe: relocate round_pipe_size() above pipe_set_size() (diff) | |
download | wireguard-linux-d37d41666408102bf0ac8e48d8efdce7b809e5f6.tar.xz wireguard-linux-d37d41666408102bf0ac8e48d8efdce7b809e5f6.zip |
pipe: move limit checking logic into pipe_set_size()
This is a preparatory patch for following work. Move the F_SETPIPE_SZ
limit-checking logic from pipe_fcntl() into pipe_set_size(). This
simplifies the code a little, and allows for reworking required in
a later patch that fixes the limit checking in pipe_set_size()
Link: http://lkml.kernel.org/r/3701b2c5-2c52-2c3e-226d-29b9deb29b50@gmail.com
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Reviewed-by: Vegard Nossum <vegard.nossum@oracle.com>
Cc: Willy Tarreau <w@1wt.eu>
Cc: <socketpair@gmail.com>
Cc: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Cc: Jens Axboe <axboe@fb.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions