summaryrefslogtreecommitdiffstats
path: root/lib/decompress_unlzma.c
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2013-04-29 10:35:36 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2013-04-29 11:11:39 -0400
commitee3ae84ef40154c734dc2cbca5cf4b2f54c6c7c7 (patch)
tree7369401ff7712c5c0c4a7ab8378dc41986c5cba7 /lib/decompress_unlzma.c
parentb0212b84fb19cf89305ab96c73abdf3a76d05ef8 (diff)
NFSv4: Servers should only check SETATTR stateid open mode on size change
The NFSv4 and NFSv4.1 specs are both clear that the server should only check stateid open mode if a SETATTR specifies the size attribute. If the open mode is not one that allows writing, then it returns NFS4ERR_OPENMODE. In the case where the SETATTR is not changing the size, the client will still pass it the delegation stateid to ensure that the server does not recall that delegation. In that case, the server should _ignore_ the delegation open mode, and simply apply standard permission checks. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'lib/decompress_unlzma.c')
0 files changed, 0 insertions, 0 deletions