From: Chuck Lever Date: Thu, 18 Jun 2009 01:02:12 +0000 (-0700) Subject: NFS: add XDR decoder for mountd version 3 auth-flavor lists X-Git-Tag: v2.6.31-rc1~58^2~2^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a14017db2852f9393a401a0f64053c331003babf;p=pandora-kernel.git NFS: add XDR decoder for mountd version 3 auth-flavor lists Introduce an xdr_stream-based XDR decoder that can unpack the auth- flavor list returned in a MNT3 reply. The nfs_mount() function's caller allocates an array, and passes the size and a pointer to it. The decoder decodes all the flavors it can into the array, and returns the number of decoded flavors. If the caller is not interested in the auth flavors, it can pass a value of zero as the size of the pre-allocated array. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed