Fix a dumb typo - use of & instead of &&
authorAl Viro <viro@ZenIV.linux.org.uk>
Sat, 6 Mar 2010 18:41:07 +0000 (18:41 +0000)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 6 Mar 2010 18:54:48 +0000 (10:54 -0800)
commit781b16775ba0bb55fac0e1757bf0bd87c8879632
treef081f67fe98a50a217a8c9be8d55e64854e46193
parent64096c17417380d8a472d096645f4cbc9406c987
Fix a dumb typo - use of & instead of &&

We managed to lose O_DIRECTORY testing due to a stupid typo in commit
1f36f774b2 ("Switch !O_CREAT case to use of do_last()")

Reported-by: Walter Sheets <w41ter@gmail.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/namei.c