diff options
| author | Mike Christie <mchristi@redhat.com> | 2016-06-05 15:31:44 -0400 |
|---|---|---|
| committer | Jens Axboe <axboe@fb.com> | 2016-06-07 15:41:38 -0400 |
| commit | dfec8a14fc9043039e3c04807caf39dc71102816 (patch) | |
| tree | 306adbd461707daf2ba64766964c534ff7ce4a8c /include/linux/buffer_head.h | |
| parent | 2a222ca992c35aee1e83af428f3dd26a3f5d5d94 (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 'include/linux/buffer_head.h')
| -rw-r--r-- | include/linux/buffer_head.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/buffer_head.h b/include/linux/buffer_head.h index bc9a45d1e3af..d1dd29338ba0 100644 --- a/include/linux/buffer_head.h +++ b/include/linux/buffer_head.h | |||
| @@ -187,7 +187,7 @@ struct buffer_head *alloc_buffer_head(gfp_t gfp_flags); | |||
| 187 | void free_buffer_head(struct buffer_head * bh); | 187 | void free_buffer_head(struct buffer_head * bh); |
| 188 | void unlock_buffer(struct buffer_head *bh); | 188 | void unlock_buffer(struct buffer_head *bh); |
| 189 | void __lock_buffer(struct buffer_head *bh); | 189 | void __lock_buffer(struct buffer_head *bh); |
| 190 | void ll_rw_block(int, int, struct buffer_head * bh[]); | 190 | void ll_rw_block(int, int, int, struct buffer_head * bh[]); |
| 191 | int sync_dirty_buffer(struct buffer_head *bh); | 191 | int sync_dirty_buffer(struct buffer_head *bh); |
| 192 | int __sync_dirty_buffer(struct buffer_head *bh, int op_flags); | 192 | int __sync_dirty_buffer(struct buffer_head *bh, int op_flags); |
| 193 | void write_dirty_buffer(struct buffer_head *bh, int op_flags); | 193 | void write_dirty_buffer(struct buffer_head *bh, int op_flags); |
