Skip to content
Commit 1757655d authored by Trond Myklebust's avatar Trond Myklebust
Browse files

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: c84bea59 ("NFS/pNFS: Simplify bucket layout segment reference counting")
Signed-off-by: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
parent 2c8d5fc3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment