]> git.karo-electronics.de Git - karo-tx-linux.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>
Tue, 24 Mar 2015 21:19:19 +0000 (17:19 -0400)
commit6bf375f6a770456b87e6008c86f1901b5161409f
tree7041abb986e8aab44510f832114cbfab5a6b6470
parent58bc1954245579ce1693032bdad5a0a332bc4f0a
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