Skip to contentSkip to conversation

LOOKUP_DIRECTORY fix

GIT PULL Al Viro 1 participant 1 message Mar 26, 2010

lore
Share & tools
lore

Al Viro

author
#0 lore raw

Restore LOOKUP_DIRECTORY handling in case of open() with
O_DIRECTORY. While filesystems shouldn't have require O_DIRECTORY for directory lookup to succeed, they have legitimate case for knowing that flag had been there - it's a useful hint.

git breakage on NFSv4 in -rc1/-rc2 should be fixed by that.
Please, pull from
git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6.git/ for-linus

Shortlog:
Al Viro (1):
Restore LOOKUP_DIRECTORY hint handling in final lookup on open()

Diffstat:

 fs/namei.c |   18 ++++++++++--------
 1 files changed, 10 insertions(+), 8 deletions(-)