pNFS: Clean up pnfs_layoutreturn_free_lsegs()
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 4 Jan 2021 20:01:18 +0000 (15:01 -0500)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Sun, 10 Jan 2021 18:32:52 +0000 (13:32 -0500)
commitc18d1e17ba2f6a1c9257b0b5d2882a6e3f772673
treec9f16754d76d3c097a4d6ade5fc553b260fafca0
parent078000d02d57f02dde61de4901f289672e98c8bc
pNFS: Clean up pnfs_layoutreturn_free_lsegs()

Remove the check for whether or not the stateid is NULL, and fix up the
callers.

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