diff options
author | 2021-07-08 13:34:37 +0700 | |
---|---|---|
committer | 2021-08-23 13:41:26 -0600 | |
commit | 91ef658fb8b82837f94ea0d45d14b5b2d2541e70 (patch) | |
tree | b1ced52aaffc27fb1b6ff4677c5d896ea4847ae5 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | io_uring: add ->splice_fd_in checks (diff) | |
download | wireguard-linux-91ef658fb8b82837f94ea0d45d14b5b2d2541e70.tar.xz wireguard-linux-91ef658fb8b82837f94ea0d45d14b5b2d2541e70.zip |
namei: ignore ERR/NULL names in putname()
Supporting ERR/NULL names in putname() makes callers code cleaner, and
is what some other path walking functions already support for the same
reason.
This also removes a few existing IS_ERR checks before putname().
Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
Link: https://lore.kernel.org/io-uring/CAHk-=wgCac9hBsYzKMpHk0EbLgQaXR=OUAjHaBtaY+G8A9KhFg@mail.gmail.com/
Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Christian Brauner <christian.brauner@ubuntu.com>
Signed-off-by: Dmitry Kadashev <dkadashev@gmail.com>
Link: https://lore.kernel.org/r/20210708063447.3556403-2-dkadashev@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions