pNFS: Add infrastructure for cleaning up per-layout commit structures
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Fri, 20 Mar 2020 20:04:06 +0000 (16:04 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Fri, 27 Mar 2020 20:34:34 +0000 (16:34 -0400)
commita9901899b649dc80ef75c14d6d78059cae14def7
tree472457bf22d210879706b9916a285339761dc8a2
parente3b9f7e60b71d3a652ab80665e724d22d61dd629
pNFS: Add infrastructure for cleaning up per-layout commit structures

Ensure that both the file and flexfiles layout types clean up when
freeing the layout segments.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/filelayout/filelayout.c
fs/nfs/flexfilelayout/flexfilelayout.c
fs/nfs/internal.h
fs/nfs/pnfs.c
fs/nfs/pnfs.h
fs/nfs/pnfs_nfs.c
include/linux/nfs_xdr.h