]> err.no Git - linux-2.6/commit
NFS: Separate functions for counting outstanding NFS direct I/Os
authorChuck Lever <cel@netapp.com>
Tue, 20 Jun 2006 16:55:19 +0000 (12:55 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Sat, 24 Jun 2006 17:11:38 +0000 (13:11 -0400)
commitb1c5921c5b715c207d7fe77cd7aaafbb322f09f5
treec8a56c56740efa728b7d3b935b6cb09330a4817f
parent816724e65c72a90a44fbad0ef0b59b186c85fa90
NFS: Separate functions for counting outstanding NFS direct I/Os

Factor out the logic that increments and decrements the outstanding I/O
count.  This will be a commonly used bit of code in upcoming patches.
Also make this an atomic_t again, since it will be very often manipulated
outside dreq->spin lock.

Signed-off-by: Chuck Lever <cel@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/direct.c