set REPARSE_POINT attr only if symlink_support attr is set
This commit is contained in:
parent
9c84f71623
commit
db1c02cc28
3 changed files with 9 additions and 3 deletions
|
|
@ -1552,6 +1552,10 @@ static bool_t decode_file_attrs(
|
|||
if (!xdr_u_hyper(xdr, &info->size))
|
||||
return FALSE;
|
||||
}
|
||||
if (attrs->attrmask.arr[0] & FATTR4_WORD0_SYMLINK_SUPPORT) {
|
||||
if (!xdr_bool(xdr, &info->symlink_support))
|
||||
return FALSE;
|
||||
}
|
||||
if (attrs->attrmask.arr[0] & FATTR4_WORD0_FSID) {
|
||||
if (!xdr_fsid(xdr, &info->fsid))
|
||||
return FALSE;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue