commit | d705ae6b133f9f6a8beee617b1224b6a5c99c5da | [log] [tgz] |
---|---|---|
author | Tejun Heo <tj@kernel.org> | Wed Feb 15 09:45:49 2012 +0100 |
committer | Jens Axboe <axboe@kernel.dk> | Wed Feb 15 09:45:49 2012 +0100 |
tree | b1a0b09ae01f8385e66c021c338106b88e8d23f8 | |
parent | 7ada1dd62804ca9ce1cb8666c6e563cd92fa50c1 [diff] |
block: replace icq->changed with icq->flags icq->changed was used for ICQ_*_CHANGED bits. Rename it to flags and access it under ioc->lock instead of using atomic bitops. ioc_get_changed() is added so that the changed part can be fetched and cleared as before. icq->flags will be used to carry other flags. Signed-off-by: Tejun Heo <tj@kernel.org> Tested-by: Shaohua Li <shaohua.li@intel.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>