[volume] fixing FsAttributes volume query

not setting the length of the reply produced a zero valued query.
This commit is contained in:
Olga Kornievskaia 2012-04-25 11:37:24 -04:00
parent b3a86d0256
commit c4c76c97d2

View file

@ -143,6 +143,7 @@ static int handle_volume(nfs41_upcall *upcall)
break;
case FileFsAttributeInformation:
args->len = sizeof(args->info.attribute);
nfs41_superblock_fs_attributes(upcall->state_ref->file.fh.superblock,
&args->info.attribute);
break;