]> git.neil.brown.name Git - history.git/commit
[PATCH] kNFSd: Enforce open_downgrade requirement
authorAndrew Morton <akpm@osdl.org>
Thu, 26 Feb 2004 14:50:27 +0000 (06:50 -0800)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 26 Feb 2004 14:50:27 +0000 (06:50 -0800)
commit718f6bfc1c08935997abfc30182b42f9474a97f9
treed3818fecfb5ccbb4d12ab47ca3e08c89660e0a3f
parent11a4f276ddad404804dab5a34f97b161b6c7cec8
[PATCH] kNFSd: Enforce open_downgrade requirement

From: NeilBrown <neilb@cse.unsw.edu.au>

The spec requires that the access and deny bits requested in open_downgrade
represent the union of the bits for some subset of the OPENS for the given
open_owner and file.  Enforce that requirement.
fs/nfsd/nfs4proc.c
fs/nfsd/nfs4state.c
include/linux/nfs4.h
include/linux/nfsd/state.h