commit | 0068a7b010533872b6e71a376771dc310d90fa1c | [log] [tgz] |
---|---|---|
author | Max Gurtovoy <mgurtovoy@nvidia.com> | Wed Nov 25 12:27:36 2020 +0000 |
committer | Christoph Hellwig <hch@lst.de> | Tue Dec 01 20:36:37 2020 +0100 |
tree | 5e7864c6d32cc2446f734500f642851046ab70e5 | |
parent | 6d65aeab7bf6e83e75f53cfdbdb84603e52e1182 [diff] |
nvmet: make sure discovery change log event is protected Generation counter is protected by nvmet_config_sem. Make sure the callers that call functions that might change it, are calling it properly. Signed-off-by: Max Gurtovoy <mgurtovoy@nvidia.com> Reviewed-by: Israel Rukshin <israelr@nvidia.com> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com> Signed-off-by: Christoph Hellwig <hch@lst.de>