block: add REQ_SECURE to REQ_COMMON_MASK
authorNamhyung Kim <namhyung@gmail.com>
Mon, 20 Jun 2011 11:23:14 +0000 (13:23 +0200)
committerJens Axboe <jaxboe@fusionio.com>
Mon, 20 Jun 2011 11:23:14 +0000 (13:23 +0200)
Add REQ_SECURE flag to REQ_COMMON_MASK so that
init_request_from_bio() can pass it to @req->cmd_flags.

Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: stable@kernel.org # 2.6.36 and newer
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
include/linux/blk_types.h

index 2a7cea53ca0d3d047617d1fff5f6e3848493a60f..6395692b2e7a9dec9725dcf42dbf244585f7c83e 100644 (file)
@@ -167,7 +167,7 @@ enum rq_flag_bits {
        (REQ_FAILFAST_DEV | REQ_FAILFAST_TRANSPORT | REQ_FAILFAST_DRIVER)
 #define REQ_COMMON_MASK \
        (REQ_WRITE | REQ_FAILFAST_MASK | REQ_SYNC | REQ_META | REQ_DISCARD | \
-        REQ_NOIDLE | REQ_FLUSH | REQ_FUA)
+        REQ_NOIDLE | REQ_FLUSH | REQ_FUA | REQ_SECURE)
 #define REQ_CLONE_MASK         REQ_COMMON_MASK
 
 #define REQ_RAHEAD             (1 << __REQ_RAHEAD)