]> err.no Git - linux-2.6/commit
knfsd: query filesystem for NFSv4 getattr of FATTR4_MAXNAME
authorJ. Bruce Fields <bfields@citi.umich.edu>
Fri, 28 Sep 2007 20:45:51 +0000 (16:45 -0400)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Tue, 9 Oct 2007 22:31:57 +0000 (18:31 -0400)
commita16e92edcd0a2846455a30823e1bac964e743baa
tree50893238dcccb1bcfc6c1160c3db4887d2f08eea
parentcfdcad4da1903720b9b8c1f176e46a0ebf546be3
knfsd: query filesystem for NFSv4 getattr of FATTR4_MAXNAME

Without this we always return 2^32-1 as the the maximum namelength.

Thanks to Andreas Gruenbacher for bug report and testing.

Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Cc: Andreas Gruenbacher <agruen@suse.de>
fs/nfsd/nfs4xdr.c