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)
commit1e9bb8808ac11094d711d20d580e7b45a4992d0c
treed0e228b619664b7f507e37e5eba4a5ebeef103a0
parent5e84ea3a9c662dc2d7a48703a4468fad954a3b7f
block: fix non-atomic access to genhd inflight structures

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>
drivers/md/dm.c
fs/partitions/check.c
include/linux/genhd.h
This page took 0.025792 seconds and 5 git commands to generate.