open: use suppattr_exclcreat to mask exclusive create attributes

Signed-off-by: Casey Bodley <cbodley@citi.umich.edu>
This commit is contained in:
Casey Bodley 2012-03-29 14:40:12 -04:00 committed by unknown
parent 6bb641e547
commit 68d97f5400
5 changed files with 37 additions and 2 deletions

View file

@ -1851,6 +1851,10 @@ static bool_t decode_file_attrs(
if (!xdr_mdsthreshold(xdr, &info->mdsthreshold))
return FALSE;
}
if (attrs->attrmask.arr[2] & FATTR4_WORD2_SUPPATTR_EXCLCREAT) {
if (!xdr_bitmap4(xdr, info->suppattr_exclcreat))
return FALSE;
}
}
return TRUE;
}