git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'for-4.14/block' of git://git.kernel.dk/linux-block
[sfrench/cifs-2.6.git]
/
fs
/
gfs2
/
meta_io.c
diff --git
a/fs/gfs2/meta_io.c
b/fs/gfs2/meta_io.c
index 61ef6c9be816f14a3c7242fd479f1acd1f373c46..52de1036d9f92fbd4b544dfb5495d71159fa3ca3 100644
(file)
--- a/
fs/gfs2/meta_io.c
+++ b/
fs/gfs2/meta_io.c
@@
-221,7
+221,7
@@
static void gfs2_submit_bhs(int op, int op_flags, struct buffer_head *bhs[],
bio = bio_alloc(GFP_NOIO, num);
bio->bi_iter.bi_sector = bh->b_blocknr * (bh->b_size >> 9);
- bio
->bi_bdev = bh->b_bdev
;
+ bio
_set_dev(bio, bh->b_bdev)
;
while (num > 0) {
bh = *bhs;
if (!bio_add_page(bio, bh->b_page, bh->b_size, bh_offset(bh))) {