summaryrefslogtreecommitdiffstats
path: root/fs/nfs/cache_lib.c
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@hammerspace.com>2021-01-06 17:28:30 +0100
committerTrond Myklebust <trond.myklebust@hammerspace.com>2021-01-10 19:32:52 +0100
commit1757655d780d9d29bc4b60e708342e94924f7ef3 (patch)
treeeffac5e5f245ff8e04dfe80a87d426d5074c85eb /fs/nfs/cache_lib.c
parentpNFS: Stricter ordering of layoutget and layoutreturn (diff)
downloadlinux-1757655d780d9d29bc4b60e708342e94924f7ef3.tar.xz
linux-1757655d780d9d29bc4b60e708342e94924f7ef3.zip
NFS/pNFS: Don't call pnfs_free_bucket_lseg() before removing the request
In pnfs_generic_clear_request_commit(), we try calling pnfs_free_bucket_lseg() before we remove the request from the DS bucket. That will always fail, since the point is to test for whether or not that bucket is empty. Fixes: c84bea59449a ("NFS/pNFS: Simplify bucket layout segment reference counting") Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'fs/nfs/cache_lib.c')
0 files changed, 0 insertions, 0 deletions