diff options
author | Benny Halevy <bhalevy@panasas.com> | 2009-04-03 07:29:08 +0200 |
---|---|---|
committer | J. Bruce Fields <bfields@citi.umich.edu> | 2009-04-04 02:41:22 +0200 |
commit | 95ec28cda323104bbff64fc7ec8ee4c9042e51fa (patch) | |
tree | bde294959fdf288cd69e0f6f33570f62ec57dcbf /fs/nfsd/nfs4xdr.c | |
parent | nfsd41: pass writable attrs mask to nfsd4_decode_fattr (diff) | |
download | linux-95ec28cda323104bbff64fc7ec8ee4c9042e51fa.tar.xz linux-95ec28cda323104bbff64fc7ec8ee4c9042e51fa.zip |
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 <bhalevy@panasas.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Diffstat (limited to 'fs/nfsd/nfs4xdr.c')
0 files changed, 0 insertions, 0 deletions