diff options
author | Trond Myklebust <trond.myklebust@hammerspace.com> | 2021-01-06 17:28:30 +0100 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2021-01-10 19:32:52 +0100 |
commit | 1757655d780d9d29bc4b60e708342e94924f7ef3 (patch) | |
tree | effac5e5f245ff8e04dfe80a87d426d5074c85eb /fs/nfs/cache_lib.c | |
parent | pNFS: Stricter ordering of layoutget and layoutreturn (diff) | |
download | linux-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