NFS: Send attributes in OPEN request for NFS4_CREATE_EXCLUSIVE4_1
authorKinglong Mee <kinglongmee@gmail.com>
Wed, 26 Aug 2015 13:13:37 +0000 (21:13 +0800)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Thu, 27 Aug 2015 23:47:07 +0000 (19:47 -0400)
commit5334c5bdac926c5f8d89729beccb46fe88eda9e7
treebfa8b8757f5d80b3928709d965dd43397638dcfa
parent8c61282ff61c28d5a12bb53f0eaa221d30fd3ae1
NFS: Send attributes in OPEN request for NFS4_CREATE_EXCLUSIVE4_1

Client sends a SETATTR request after OPEN for updating attributes.
For create file with S_ISGID is set, the S_ISGID in SETATTR will be
ignored at nfs server as chmod of no PERMISSION.

v3, same as v2.

Signed-off-by: Kinglong Mee <kinglongmee@gmail.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/nfs4proc.c
fs/nfs/nfs4xdr.c
include/linux/nfs_xdr.h