summaryrefslogtreecommitdiff
path: root/include/linux/blkdev.h
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2002-09-12 12:58:38 +1000
committerAnton Blanchard <anton@samba.org>2002-09-12 12:58:38 +1000
commite94ed46cd467b4170b82428cf29483da3423794f (patch)
tree9590052dc2d9014b6d79f27b03fcad182fc33d3d /include/linux/blkdev.h
parent98398ebac81a1beb9342bec4fc36d6b9185249c0 (diff)
parent50ac9a5ae511a08b12637bfa9231e4680576ea95 (diff)
Merge samba.org:/scratch/anton/linux-2.5
into samba.org:/scratch/anton/linux-2.5_ppc64_new
Diffstat (limited to 'include/linux/blkdev.h')
-rw-r--r--include/linux/blkdev.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h
index a11b6181c76f..7ef082f9462f 100644
--- a/include/linux/blkdev.h
+++ b/include/linux/blkdev.h
@@ -219,6 +219,7 @@ struct request_queue
#define blk_queue_plugged(q) !list_empty(&(q)->plug_list)
#define blk_queue_tagged(q) test_bit(QUEUE_FLAG_QUEUED, &(q)->queue_flags)
#define blk_queue_empty(q) elv_queue_empty(q)
+#define blk_fs_request(rq) ((rq)->flags & REQ_CMD)
#define list_entry_rq(ptr) list_entry((ptr), struct request, queuelist)
#define rq_data_dir(rq) ((rq)->flags & 1)