From: Jens Axboe Date: Wed, 19 Mar 2014 21:25:02 +0000 (-0600) Subject: blk-mq: fix wrong usage of hctx->state vs hctx->flags X-Git-Tag: v3.15-rc1~135^2~6 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d12f905cc50c0810628d0deedd478ec2db48659;p=pandora-kernel.git blk-mq: fix wrong usage of hctx->state vs hctx->flags BLK_MQ_F_* flags are for hctx->flags, and are non-atomic and set at registration time. BLK_MQ_S_* flags are dynamic and atomic, and are accessed through hctx->state. Some of the BLK_MQ_S_STOPPED uses were wrong. Additionally, the header file should not use a bit shift for the _S_ flags, as they are done through the set/test_bit functions. Signed-off-by: Jens Axboe --- Reading git-diff-tree failed