diff options
author | Mike Christie <mchristi@redhat.com> | 2016-06-05 15:31:43 -0400 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2016-06-07 15:41:38 -0400 |
commit | 2a222ca992c35aee1e83af428f3dd26a3f5d5d94 (patch) | |
tree | a5ff0a4f59f8fc44a276dd054ea04314eec1a043 /fs/gfs2/dir.c | |
parent | f21508211d2b16e65821abd171378fa6ece126fe (diff) |
fs: have submit_bh users pass in op and flags separately
This has submit_bh users pass in the operation and flags separately,
so submit_bh_wbc 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/gfs2/dir.c')
-rw-r--r-- | fs/gfs2/dir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/dir.c b/fs/gfs2/dir.c index 271d93905bac..0fbb42679cef 100644 --- a/fs/gfs2/dir.c +++ b/fs/gfs2/dir.c | |||
@@ -1513,7 +1513,7 @@ static void gfs2_dir_readahead(struct inode *inode, unsigned hsize, u32 index, | |||
1513 | continue; | 1513 | continue; |
1514 | } | 1514 | } |
1515 | bh->b_end_io = end_buffer_read_sync; | 1515 | bh->b_end_io = end_buffer_read_sync; |
1516 | submit_bh(READA | REQ_META, bh); | 1516 | submit_bh(REQ_OP_READ, READA | REQ_META, bh); |
1517 | continue; | 1517 | continue; |
1518 | } | 1518 | } |
1519 | brelse(bh); | 1519 | brelse(bh); |