From: NeilBrown Date: Tue, 11 Apr 2006 05:55:34 +0000 (-0700) Subject: [PATCH] knfsd: svcrpc: gss: don't call svc_take_page unnecessarily X-Git-Tag: v2.6.17-rc2~120 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dfee55f06213a23b250ea63ba41caa461cdd5e72;p=pandora-kernel.git [PATCH] knfsd: svcrpc: gss: don't call svc_take_page unnecessarily We're using svc_take_page here to get another page for the tail in case one wasn't already allocated. But there isn't always guaranteed to be another page available. Also fix a typo that made us check the tail buffer for space when we meant to be checking the head buffer. Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed