mask attrs only when present
during delegation recovery we don't pass in create attributes.
This commit is contained in:
parent
9320098f0c
commit
6f55d3e346
1 changed files with 1 additions and 1 deletions
|
|
@ -470,7 +470,7 @@ int nfs41_open(
|
|||
/* mask unsupported attributes */
|
||||
nfs41_superblock_supported_attrs_exclcreat(
|
||||
parent->fh.superblock, &createattrs->attrmask);
|
||||
} else {
|
||||
} else if (createattrs) {
|
||||
/* mask unsupported attributes */
|
||||
nfs41_superblock_supported_attrs(
|
||||
parent->fh.superblock, &createattrs->attrmask);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue