summaryrefslogtreecommitdiffstats
path: root/fs/squashfs
diff options
context:
space:
mode:
authorMike Christie <mchristi@redhat.com>2016-06-05 15:31:44 -0400
committerJens Axboe <axboe@fb.com>2016-06-07 15:41:38 -0400
commitdfec8a14fc9043039e3c04807caf39dc71102816 (patch)
tree306adbd461707daf2ba64766964c534ff7ce4a8c /fs/squashfs
parent2a222ca992c35aee1e83af428f3dd26a3f5d5d94 (diff)
fs: have ll_rw_block users pass in op and flags separately
This has ll_rw_block users pass in the operation and flags separately, so ll_rw_block can setup the bio op and bi_rw flags on the bio that is submitted. Signed-off-by: Mike Christie <mchristi@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Hannes Reinecke <hare@suse.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'fs/squashfs')
-rw-r--r--fs/squashfs/block.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/squashfs/block.c b/fs/squashfs/block.c
index 2c2618410d51..ce62a380314f 100644
--- a/fs/squashfs/block.c
+++ b/fs/squashfs/block.c
@@ -124,7 +124,7 @@ int squashfs_read_data(struct super_block *sb, u64 index, int length,
124 goto block_release; 124 goto block_release;
125 bytes += msblk->devblksize; 125 bytes += msblk->devblksize;
126 } 126 }
127 ll_rw_block(READ, b, bh); 127 ll_rw_block(REQ_OP_READ, 0, b, bh);
128 } else { 128 } else {
129 /* 129 /*
130 * Metadata block. 130 * Metadata block.
@@ -156,7 +156,7 @@ int squashfs_read_data(struct super_block *sb, u64 index, int length,
156 goto block_release; 156 goto block_release;
157 bytes += msblk->devblksize; 157 bytes += msblk->devblksize;
158 } 158 }
159 ll_rw_block(READ, b - 1, bh + 1); 159 ll_rw_block(REQ_OP_READ, 0, b - 1, bh + 1);
160 } 160 }
161 161
162 for (i = 0; i < b; i++) { 162 for (i = 0; i < b; i++) {