pnfs: change lo refcounting to atomic_t
commitcc6e5340b0981feac5a00a992bab6154cb4b1fa1
authorFred Isaman <iisaman@netapp.com>
Thu, 6 Jan 2011 11:36:28 +0000 (6 11:36 +0000)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 6 Jan 2011 19:46:32 +0000 (6 14:46 -0500)
tree514db8586801aa60ee97d3880071b12c0cdf2421
parentfc1794c5b04f5322bad05385cd91b52ec85aab72
pnfs: change lo refcounting to atomic_t

This will be required to allow us to grab reference outside of i_lock.
While we are at it, make put_layout_hdr take the same argument as all the
related functions.

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