commit | c5760f300e25f7d2cea9a9002b1e058a5c18b73f | [log] [tgz] |
---|---|---|
author | James Smart <jsmart2021@gmail.com> | Fri Nov 03 08:13:16 2017 -0700 |
committer | Jens Axboe <axboe@kernel.dk> | Fri Nov 10 19:53:25 2017 -0700 |
tree | 6c3e5267f86d04d64ef66d43cd5dc008e7d14377 | |
parent | 84fef62d135b6e47b52f4e9280b5dbc5bb0050ba [diff] |
nvme-fc: fix localport resume using stale values The localport resume was not updating the lldd ops structure. If the lldd is unloaded and reloaded, the ops pointers will differ. Additionally, as there are device references taken by the localport, ensure that resume only resumes if the device matches as well. Signed-off-by: James Smart <james.smart@broadcom.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>