From: J. Bruce Fields Date: Mon, 8 Apr 2013 20:44:14 +0000 (-0400) Subject: nfsd4: fix forechannel attribute negotiation X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~48^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=55c760cfc40d75b4d8a17d56580ec306db2ab14f;p=pandora-kernel.git nfsd4: fix forechannel attribute negotiation Negotiation of the 4.1 session forechannel attributes is a mess. Fix: - Move it all into check_forechannel_attrs instead of spreading it between that, alloc_session, and init_forechannel_attrs. - set a minimum "slotsize" so that our drc memory limits apply even for small maxresponsesize_cached. This also fixes some bugs when slotsize becomes <= 0. Signed-off-by: J. Bruce Fields --- Reading git-diff-tree failed