]> git.baikalelectronics.ru Git - kernel.git/commit
drop bogus check in file_open_root()
authorAl Viro <viro@zeniv.linux.org.uk>
Mon, 9 Mar 2015 03:36:51 +0000 (23:36 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 12 Apr 2015 02:24:32 +0000 (22:24 -0400)
commitf150a53e0221a863200f05deb3cb4c664fbb028f
tree8f7534fad9314aa9bd8af9c33053b41d7e0d8445
parent603ece6c561d746cff335d6800f5c79544879e60
drop bogus check in file_open_root()

For one thing, LOOKUP_DIRECTORY will be dealt with in do_last().
For another, name can be an empty string, but not NULL - no callers
pass that and it would oops immediately if they would.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/open.c