/* on an EXCLUSIVE create, the server should send back a bitmask with FATTR4-* fields corresponding to attributes that were used to store the verifier. Make sure we clobber those fields in the later setattr call  */
static void nfs4_exclusive_attrset(struct nfs4_opendata *opendata, struct iattr *sattr)
/* on an EXCLUSIVE create, the server should send back a bitmask with FATTR4-* fields corresponding to attributes that were used to store the verifier. Make sure we clobber those fields in the later setattr call  */
static void nfs4_exclusive_attrset(struct nfs4_opendata *opendata, struct iattr *sattr)
{
	if ((opendata->o_res.attrset[1] & FATTR4_WORD1_TIME_ACCESS) &&
	    !(sattr->ia_valid & ATTR_ATIME_SET))
		sattr->ia_valid |= ATTR_ATIME;
	if ((opendata->o_res.attrset[1] & FATTR4_WORD1_TIME_MODIFY) &&
	    !(sattr->ia_valid & ATTR_MTIME_SET))
		sattr->ia_valid |= ATTR_MTIME;
}