Skip to content

Commit

Permalink
nfsv3 wasn't sending nsec to clients.
Browse files Browse the repository at this point in the history
A client won't update if it doesn't think it's
out of date.
  • Loading branch information
Jeremy Bongio committed May 8, 2012
1 parent 14e1005 commit c90a8ca
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Protocols/NFS/nfs_proto_tools.c
Expand Up @@ -2500,17 +2500,17 @@ nfs3_FSALattr_To_PartialFattr(const fsal_attrib_list_t * FSAL_attr,
if(FSAL_attr->asked_attributes & FSAL_ATTR_ATIME)
{
Fattr->atime.seconds = FSAL_attr->atime.seconds;
Fattr->atime.nseconds = 0;
Fattr->atime.nseconds = FSAL_attr->atime.nseconds;
}
if(FSAL_attr->asked_attributes & FSAL_ATTR_MTIME)
{
Fattr->mtime.seconds = FSAL_attr->mtime.seconds;
Fattr->mtime.nseconds = 0;
Fattr->mtime.nseconds = FSAL_attr->mtime.nseconds;
}
if(FSAL_attr->asked_attributes & FSAL_ATTR_CTIME)
{
Fattr->ctime.seconds = FSAL_attr->ctime.seconds;
Fattr->ctime.nseconds = 0;
Fattr->ctime.nseconds = FSAL_attr->ctime.nseconds;
}

return 1;
Expand Down

0 comments on commit c90a8ca

Please sign in to comment.