From: Benny Halevy Date: Fri, 3 Apr 2009 05:29:08 +0000 (+0300) Subject: nfsd: dynamically skip encoded fattr bitmap in _nfsd4_verify X-Git-Tag: v2.6.30-rc1~183^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=95ec28cda323104bbff64fc7ec8ee4c9042e51fa;p=pandora-kernel.git nfsd: dynamically skip encoded fattr bitmap in _nfsd4_verify _nfsd4_verify currently skips 3 words from the encoded buffer begining. With support for 3-word attr bitmaps in nfsd41, nfsd4_encode_fattr may encode 1, 2, or 3 words, and not always 2 as it used to be, hence we need to find out where to skip using the encoded bitmap length. Note: This patch may be applied over pre-nfsd41 nfsd. Signed-off-by: Benny Halevy Signed-off-by: J. Bruce Fields --- Reading git-diff-tree failed