pNFS: Refactor nfs4_layoutget_release()
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 30 May 2018 21:16:20 +0000 (17:16 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Thu, 31 May 2018 19:03:11 +0000 (15:03 -0400)
commit29a8bfe52d1c38bde482971250af0ba9637ddaf2
treeb4deb29382c79cdccccf436e4603b6391ca39324
parent2409a976a2990ee1712c0945a75d75eeb3c60c08
pNFS: Refactor nfs4_layoutget_release()

Move the actual freeing of the struct nfs4_layoutget into fs/nfs/pnfs.c
where it can be reused by the layoutget on open code.

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