summaryrefslogtreecommitdiff
path: root/include/linux/ktime.h
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2007-05-09 13:34:57 +0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-09 23:30:54 +0400
commit072f62ed85a71bbb3429a52678500ec9f9441e0d (patch)
tree016660b8c3de979be1d623c18306ab4c72088adb /include/linux/ktime.h
parentf725b217b16e2cb1777c5a6e13c99f7913f1514a (diff)
downloadlinux-072f62ed85a71bbb3429a52678500ec9f9441e0d.tar.xz
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 'include/linux/ktime.h')
0 files changed, 0 insertions, 0 deletions