SUNRPC: Fix pointer arithmetic bug recently introduced in rpc_malloc/free
commitaa3d1faebe6e214cd96be0e587571477ff6fd9fc
authorChuck Lever <chuck.lever@oracle.com>
Tue, 8 May 2007 22:23:28 +0000 (8 18:23 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 9 May 2007 21:57:59 +0000 (9 17:57 -0400)
treed2295c15e30437a2bc693bd71b79a42c742ffc8b
parente70c490810dc683fad39e57cf00e69d5f120c542
SUNRPC: Fix pointer arithmetic bug recently introduced in rpc_malloc/free

Use a cleaner method to find the size of an rpc_buffer.  This actually
works on x86-64!

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/sched.c