diff options
author | Trond Myklebust <trond.myklebust@hammerspace.com> | 2020-03-20 23:04:06 +0300 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2020-03-27 23:34:34 +0300 |
commit | a9901899b649dc80ef75c14d6d78059cae14def7 (patch) | |
tree | 472457bf22d210879706b9916a285339761dc8a2 /include/linux/nfs_xdr.h | |
parent | e3b9f7e60b71d3a652ab80665e724d22d61dd629 (diff) | |
download | linux-a9901899b649dc80ef75c14d6d78059cae14def7.tar.xz |
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>
Diffstat (limited to 'include/linux/nfs_xdr.h')
-rw-r--r-- | include/linux/nfs_xdr.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/nfs_xdr.h b/include/linux/nfs_xdr.h index 9946787eda72..33be2ee2a248 100644 --- a/include/linux/nfs_xdr.h +++ b/include/linux/nfs_xdr.h @@ -1275,6 +1275,7 @@ struct pnfs_commit_array { struct list_head lseg_list; struct pnfs_layout_segment *lseg; struct rcu_head rcu; + refcount_t refcount; unsigned int nbuckets; struct pnfs_commit_bucket buckets[]; }; |