diff options
author | Dmitry Kadashev <[email protected]> | 2021-07-08 13:34:37 +0700 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2021-08-23 13:41:26 -0600 |
commit | 91ef658fb8b82837f94ea0d45d14b5b2d2541e70 (patch) | |
tree | b1ced52aaffc27fb1b6ff4677c5d896ea4847ae5 /lib/test_fortify/write_overflow-memcpy.c | |
parent | 26578cda3db983b17cabe4e577af26306beb9987 (diff) |
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 <[email protected]>
Link: https://lore.kernel.org/io-uring/CAHk-=wgCac9hBsYzKMpHk0EbLgQaXR=OUAjHaBtaY+G8A9KhFg@mail.gmail.com/
Acked-by: Linus Torvalds <[email protected]>
Cc: Al Viro <[email protected]>
Cc: Christian Brauner <[email protected]>
Signed-off-by: Dmitry Kadashev <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-memcpy.c')
0 files changed, 0 insertions, 0 deletions