nfsd41: CREATE_EXCLUSIVE4_1
authorBenny Halevy <bhalevy@panasas.com>
Fri, 3 Apr 2009 05:29:17 +0000 (08:29 +0300)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Sat, 4 Apr 2009 00:41:23 +0000 (17:41 -0700)
commit79fb54abd285b442e1f30f851902f3ddf58e7704
tree93c8278368e7f6328e1cfa695ce96d5c95f3e338
parent8c18f2052e756e7d5dea712fc6e7ed70c00e8a39
nfsd41: CREATE_EXCLUSIVE4_1

Implement the CREATE_EXCLUSIVE4_1 open mode conforming to
http://tools.ietf.org/html/draft-ietf-nfsv4-minorversion1-26

This mode allows the client to atomically create a file
if it doesn't exist while setting some of its attributes.

It must be implemented if the server supports persistent
reply cache and/or pnfs.

Signed-off-by: Benny Halevy <bhalevy@panasas.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
fs/nfsd/nfs4proc.c
fs/nfsd/nfs4xdr.c
include/linux/nfs4.h
include/linux/nfsd/xdr4.h