block: fix non-atomic access to genhd inflight structures
authorShaohua Li <shaohua.li@intel.com>
Tue, 22 Mar 2011 07:35:35 +0000 (08:35 +0100)
committerJens Axboe <jaxboe@fusionio.com>
Tue, 22 Mar 2011 07:35:35 +0000 (08:35 +0100)
After the stack plugging introduction, these are called lockless.
Ensure that the counters are updated atomically.

Signed-off-by: Shaohua Li<shaohua.li@intel.com>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>

No differences found