]> git.neil.brown.name Git - history.git/commit
[PATCH] cleanup: simplify req_offset function in NFS client
authorChuck Lever <cel@citi.umich.edu>
Fri, 20 Dec 2002 14:27:42 +0000 (06:27 -0800)
committerLinus Torvalds <torvalds@home.transmeta.com>
Fri, 20 Dec 2002 14:27:42 +0000 (06:27 -0800)
commit0607be177ff3076f119ff8ded85ba36615fc5f9a
treec4a4f91f1b91022f748850a81317c9ac75886454
parent756e3174a1b2b80cdb688a9871926a07a54ba0a3
[PATCH] cleanup: simplify req_offset function in NFS client

Description:
  everywhere the NFS client uses the req_offset() function today, it adds
  req->wb_offset to the result.  this patch simply makes "+req->wb_offset"
  a part of the req_offset() function.

Test status:
  Passes all Connectathon '02 tests with v2, v3, UDP and TCP.  Passes
  NFS torture tests on an x86 UP highmem system.
fs/nfs/nfs3proc.c
fs/nfs/nfs4proc.c
fs/nfs/proc.c
fs/nfs/read.c
fs/nfs/write.c
include/linux/nfs_fs.h