]> 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)
commit11aa9063c88da2b6a189434394e4d8c1fc235601
tree8f7534fad9314aa9bd8af9c33053b41d7e0d8445
parentf152a29e9cef0daa022b40ae3613dc836b850ff6
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