setting SUPPORTS_HARD_LINKS if link_support is enabled

This commit is contained in:
unknown 2010-11-04 11:51:26 -04:00
parent 8688d75574
commit 7eae229661
3 changed files with 9 additions and 1 deletions

View file

@ -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_LINK_SUPPORT) {
if (!xdr_bool(xdr, &info->link_support))
return FALSE;
}
if (attrs->attrmask.arr[0] & FATTR4_WORD0_SYMLINK_SUPPORT) {
if (!xdr_bool(xdr, &info->symlink_support))
return FALSE;