diff options
author | James Smart <jsmart2021@gmail.com> | 2020-03-18 14:41:12 -0700 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2020-03-31 16:19:48 +0200 |
commit | 38803fcffb5baf40cd403c1bd980f22308aefee8 (patch) | |
tree | 7817fe30b87e1e343dce47aa14bf647ade76f0e0 /fs/btrfs/tree-log.c | |
parent | c95b708d5fa65b4e51f088ee077d127fd5a57b70 (diff) |
nvme-fcloop: fix deallocation of working context
There's been a longstanding bug of LS completions which freed ls ops,
particularly the disconnect LS, while executing on a work context that
is in the memory being free. Not a good thing to do.
Rework LS handling to make callbacks in the rport context rather than
the ls_request context.
Signed-off-by: James Smart <jsmart2021@gmail.com>
Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/btrfs/tree-log.c')
0 files changed, 0 insertions, 0 deletions