]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commitbf0f97025c7306870b86ccd63669aa278e7ec1c2
treed8988d1f6d817a1bb31563c9864f616a52c4c0b4
parentc0a18111e571138747a98af18b3a2124df56a0d1
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