]> asedeno.scripts.mit.edu Git - 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>
Sun, 12 Apr 2015 02:24:32 +0000 (22:24 -0400)
commite5b811e38af7540b385c898d83eb0198310343fd
tree8f7534fad9314aa9bd8af9c33053b41d7e0d8445
parent3f7036a071b879da017eddaedb10fba173fdf1ff
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