[PATCH] kNFSd: nfsd_acceptable() typo fix
commit35407e6ebaecbb141fe14025e92a59fb5c9c6121
authorNeil Brown <neilb@cse.unsw.edu.au>
Sat, 5 Jun 2004 03:53:48 +0000 (4 20:53 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sat, 5 Jun 2004 03:53:48 +0000 (4 20:53 -0700)
tree991d9e77cf1c4e6debb30e7a6e24eab6a13ef85c
parent5c96dea451931a5869077d4e8e5f3c378c34c75e
[PATCH] kNFSd: nfsd_acceptable() typo fix

there's a small typo in nfsd_acceptable.  It calls

err = permission(parent->d_inode, S_IXOTH, NULL);

It really wants to use MAY_EXEC instead of S_IXOTH.  Those happen to be the
same at the moment, but may not do so forever.

From: Olaf Kirch <okir@suse.de>:
From: "J. Bruce Fields" <bfields@fieldses.org>
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/nfsd/nfsfh.c