15 Aug, 2009
2 commits
-
ntohl is already defined as be32_to_cpu.
be64_to_cpu has architecture specific optimized implementations.Signed-off-by: Benny Halevy
Signed-off-by: Trond Myklebust -
htonl is already defined as cpu_to_be32.
cpu_to_be64 has architecture specific optimized implementations.Signed-off-by: Benny Halevy
Signed-off-by: Trond Myklebust
24 Dec, 2008
1 commit
-
We've never considered the sunrpc code as part of any ABI to be used by
out-of-tree modules.Signed-off-by: Trond Myklebust
09 Apr, 2008
1 commit
-
Fix a problem in _copy_to_pages(), whereby it may call flush_dcache_page()
with an invalid pointer due to the fact that 'pgto' gets incremented
beyond the end of the page array. Fix is to exit the loop without this
unnecessary increment of pgto.Signed-off-by: Trond Myklebust
02 Feb, 2008
1 commit
-
XDR strings, opaques, and net objects should all use unsigned lengths.
To wit, RFC 4506 says:4.2. Unsigned Integer
An XDR unsigned integer is a 32-bit datum that encodes a non-negative
integer in the range [0,4294967295]....
4.11. String
The standard defines a string of n (numbered 0 through n-1) ASCII
bytes to be the number n encoded as an unsigned integer (as described
above), and followed by the n bytes of the string.After this patch, xdr_decode_string_inplace now matches the other XDR
string and array helpers that take a string length argument. See:xdr_encode_opaque_fixed, xdr_encode_opaque, xdr_encode_array
Signed-off-by: Chuck Lever
Acked-By: NeilBrown
Signed-off-by: J. Bruce Fields
30 Jan, 2008
1 commit
-
Do this for all RPC client related functions and XDR functions.
Signed-off-by: Trond Myklebust
27 Oct, 2007
1 commit
-
This patch fixes the errors made in the users of the crypto layer during
the sg_init_table conversion. It also adds a few conversions that were
missing altogether.Signed-off-by: Herbert Xu
Signed-off-by: David S. Miller
24 Oct, 2007
1 commit
-
Most drivers need to set length and offset as well, so may as well fold
those three lines into one.Add sg_assign_page() for those two locations that only needed to set
the page, where the offset/length is set outside of the function context.Signed-off-by: Jens Axboe
23 Oct, 2007
1 commit
-
Signed-off-by: Jens Axboe
11 Feb, 2007
1 commit
-
Signed-off-by: YOSHIFUJI Hideaki
Signed-off-by: David S. Miller
06 Dec, 2006
4 commits
-
Since process_xdr_buf() is useful outside of the kerberos-specific code, we
move it to net/sunrpc/xdr.c, export it, and rename it in keeping with xdr_*
naming convention of xdr.c.Signed-off-by: J. Bruce Fields
Signed-off-by: Trond Myklebust -
Also clean up the code...
Signed-off-by: Trond Myklebust
-
Signed-off-by: Trond Myklebust
-
Converts various integer buffer offsets and sizes to unsigned integer.
Signed-off-by: Trond Myklebust
29 Sep, 2006
1 commit
-
pure s/u32/__be32/
[AV: large part based on Alexey's patches]
Signed-off-by: Alexey Dobriyan
Signed-off-by: Al Viro
Signed-off-by: David S. Miller
06 Jul, 2006
1 commit
-
* the client is ia64 or any platform that actually implements
flush_dcache_page(), and* the server returns fsinfo.dtpref >= client's PAGE_SIZE, and
* the server does *not* return post-op attributes for the directory
in the READDIR reply.Problem diagnosed by Greg Banks
Signed-off-by: Trond Myklebust
09 Jun, 2006
1 commit
-
Signed-off-by: Trond Myklebust
07 Jan, 2006
1 commit
-
This patch removes ths unused function xdr_decode_string().
Signed-off-by: Adrian Bunk
Acked-by: Neil Brown
Acked-by: Charles Lever
Signed-off-by: Trond Myklebust
09 Nov, 2005
1 commit
-
From: Jesper Juhl
This is the net/ part of the big kfree cleanup patch.
Remove pointless checks for NULL prior to calling kfree() in net/.
Signed-off-by: Jesper Juhl
Cc: "David S. Miller"
Cc: Arnaldo Carvalho de Melo
Acked-by: Marcel Holtmann
Acked-by: YOSHIFUJI Hideaki
Signed-off-by: Andrew Morton
24 Sep, 2005
2 commits
-
Move the bulk of client-side socket-specific code into a separate source
file, net/sunrpc/xprtsock.c.Test-plan:
Millions of fsx operations. Performance characterization such as "sio" or
"iozone". Destructive testing (unplugging the network temporarily, server
reboots). Connectathon with v2, v3, and v4.Version: Thu, 11 Aug 2005 16:03:38 -0400
Signed-off-by: Chuck Lever
Signed-off-by: Trond Myklebust -
Clean-up: Move some code that is common to both RPC client- and server-side
socket transports into its own source file, net/sunrpc/socklib.c.Test-plan:
Compile kernel with CONFIG_NFS enabled. Millions of fsx operations over
UDP, client and server. Connectathon over UDP.Version: Thu, 11 Aug 2005 16:03:09 -0400
Signed-off-by: Chuck Lever
Signed-off-by: Trond Myklebust
16 Aug, 2005
1 commit
-
Signed-off-by: Trond Myklebust
Signed-off-by: Linus Torvalds
23 Jun, 2005
4 commits
-
Signed-off-by: Andreas Gruenbacher
Acked-by: Olaf Kirch
Signed-off-by: Trond Myklebust -
Signed-off-by: Trond Myklebust
-
Signed-off-by: Olaf Kirch
Signed-off-by: Andreas Gruenbacher
Signed-off-by: Trond Myklebust -
Fix up call_header() so that it calls xdr_adjust_iovec().
Fix calculation of the scratch buffer length in xdr_init_encode().Signed-off-by: Trond Myklebust
01 May, 2005
1 commit
-
I have recompiled Linux kernel 2.6.11.5 documentation for me and our
university students again. The documentation could be extended for more
sources which are equipped by structured comments for recent 2.6 kernels. I
have tried to proceed with that task. I have done that more times from 2.6.0
time and it gets boring to do same changes again and again. Linux kernel
compiles after changes for i386 and ARM targets. I have added references to
some more files into kernel-api book, I have added some section names as well.
So please, check that changes do not break something and that categories are
not too much skewed.I have changed kernel-doc to accept "fastcall" and "asmlinkage" words reserved
by kernel convention. Most of the other changes are modifications in the
comments to make kernel-doc happy, accept some parameters description and do
not bail out on errors. Changed to @pid in the description, moved some
#ifdef before comments to correct function to comments bindings, etc.You can see result of the modified documentation build at
http://cmp.felk.cvut.cz/~pisa/linux/lkdb-2.6.11.tar.gzSome more sources are ready to be included into kernel-doc generated
documentation. Sources has been added into kernel-api for now. Some more
section names added and probably some more chaos introduced as result of quick
cleanup work.Signed-off-by: Pavel Pisa
Signed-off-by: Martin Waitz
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
17 Apr, 2005
1 commit
-
Initial git repository build. I'm not bothering with the full history,
even though we have it. We can create a separate "historical" git
archive of that later if we want to, and in the meantime it's about
3.2GB when imported into git - space that would just make the early
git days unnecessarily complicated, when we don't have a lot of good
infrastructure for it.Let it rip!