]> git.baikalelectronics.ru Git - kernel.git/commit
block: sysfs store function needs to grab queue_lock and use queue_flag_*()
authorJens Axboe <jens.axboe@oracle.com>
Wed, 7 May 2008 07:09:39 +0000 (09:09 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Wed, 7 May 2008 07:09:39 +0000 (09:09 +0200)
commite72526d4b223f681d4544a03cec65e17e2ae12c9
treed8988d1f6d817a1bb31563c9864f616a52c4c0b4
parent34b99d4b91c85a040629ba32db8a12288da8a395
block: sysfs store function needs to grab queue_lock and use queue_flag_*()

Concurrency isn't a big deal here since we have requests in flight
at this point, but do the locked variant to set a better example.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
block/blk-sysfs.c