diff options
author | James Smart <jsmart2021@gmail.com> | 2020-03-31 09:49:51 -0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-05-09 16:18:33 -0600 |
commit | eb4ee8f125157926cf36a3c275b04825f1bf8cfa (patch) | |
tree | 6ba4856e7d145faeab074710f5670bd8fc5a6900 /drivers/nvme/target | |
parent | f56bf76f79f3dc15f17433dda1b567d34f18e699 (diff) |
nvme-fc: convert assoc_active flag to bit op
Convert the assoc_active boolean flag to a bitop on the flags field.
The bit ops will provide atomicity.
To make this change, the flags field was converted to a long type,
which also affects the FCCTRL_TERMIO flag. Both FCCTRL_TERMIO and
now ASSOC_ACTIVE flags are set/cleared by bit operations.
Signed-off-by: James Smart <jsmart2021@gmail.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/nvme/target')
0 files changed, 0 insertions, 0 deletions