diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2018-07-09 22:33:23 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2018-07-12 16:04:30 +0200 |
commit | 9b5858e99ae1cfb60dc00461cfc7bd4dd077d7d7 (patch) | |
tree | f8780361de2aeb43dcc6675ede5de268a47962e0 /include | |
parent | make path_init() unconditionally paired with terminate_walk() (diff) | |
download | linux-9b5858e99ae1cfb60dc00461cfc7bd4dd077d7d7.tar.xz linux-9b5858e99ae1cfb60dc00461cfc7bd4dd077d7d7.zip |
allow link_path_walk() to take ERR_PTR()
There is a check for IS_ERR(name) immediately upstream of each call
of link_path_walk(name, nd), with positives treated as if link_path_walk()
failed with PTR_ERR(name). Taking that check into link_path_walk() itself
simplifies things nicely.
Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions