diff options
author | NeilBrown <neilb@suse.de> | 2007-05-09 02:34:57 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-09 12:30:54 -0700 |
commit | 072f62ed85a71bbb3429a52678500ec9f9441e0d (patch) | |
tree | 016660b8c3de979be1d623c18306ab4c72088adb /Documentation/fb/tridentfb.txt | |
parent | f725b217b16e2cb1777c5a6e13c99f7913f1514a (diff) |
knfsd: various nfsd xdr cleanups
1/ decode_sattr and decode_sattr3 never return NULL, so remove
several checks for that. ditto for xdr_decode_hyper.
2/ replace some open coded XDR_QUADLEN calls with calls to
XDR_QUADLEN
3/ in decode_writeargs, simply an 'if' to use a single
calculation.
.page_len is the length of that part of the packet that did
not fit in the first page (the head).
So the length of the data part is the remainder of the
head, plus page_len.
3/ other minor cleanups.
Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/fb/tridentfb.txt')
0 files changed, 0 insertions, 0 deletions