NFSv4/pnfs: Replace pnfs_put_lseg_locked() with pnfs_put_lseg()
authorTrond Myklebust <trond.myklebust@primarydata.com>
Tue, 1 Aug 2017 21:07:02 +0000 (17:07 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Tue, 15 Aug 2017 15:54:48 +0000 (11:54 -0400)
commit8205b9ce030288e104a3024344f2a0a086231e36
tree1396fe9dfdae6f4c0e25bce697d2cce351c3245b
parent4b9bb25b36baa3e2e42b91e451bcd3acfe197a1d
NFSv4/pnfs: Replace pnfs_put_lseg_locked() with pnfs_put_lseg()

Now that we no longer hold the inode->i_lock when manipulating the
commit lists, it is safe to call pnfs_put_lseg() again.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/pnfs.c
fs/nfs/pnfs.h
fs/nfs/pnfs_nfs.c