NFSv4.1: lseg refcounting
authorFred Isaman <iisaman@netapp.com>
Tue, 1 Mar 2011 01:34:13 +0000 (01:34 +0000)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 11 Mar 2011 20:38:42 +0000 (15:38 -0500)
commitd684d2ae10a4f95d3035abf698d7d611ff2cd279
tree9bae2d1808b8e2a0d153d8d1d13f0d9a01408de0
parent94de8b27d0dcb2608d56a7e5c2941b87e6da7ce3
NFSv4.1: lseg refcounting

Prepare put_lseg and get_lseg to be called from the pNFS I/O code.
Pull common code from pnfs_lseg_locked to call from pnfs_lseg.
Inline pnfs_lseg_locked into it's only caller.

Signed-off-by: Fred Isaman <iisaman@netapp.com>
Signed-off-by: Benny Halevy <bhalevy@panasas.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/pnfs.c
fs/nfs/pnfs.h