nfsd: export proper maximum file size to the client
authorChristoph Hellwig <hch@infradead.org>
Thu, 14 Nov 2013 13:50:10 +0000 (05:50 -0800)
committerJ. Bruce Fields <bfields@redhat.com>
Thu, 14 Nov 2013 20:18:47 +0000 (15:18 -0500)
commitaea240f4162d50e0f2d8bd5ea3ba11b5f072add8
tree214ecab9cbcc13116fa1a5a05c45b604ce851cdf
parent6ff40decff0ef35a5d755ec60182d7f803356dfb
nfsd: export proper maximum file size to the client

I noticed that we export a way to high value for the maxfilesize
attribute when debugging a client issue.  The issue didn't turn
out to be related to it, but I think we should export it, so that
clients can limit what write sizes they accept before hitting
the server.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4xdr.c