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
block: replace bi_bdev with a gendisk pointer and partitions index
[sfrench/cifs-2.6.git]
/
fs
/
xfs
/
xfs_aops.c
diff --git
a/fs/xfs/xfs_aops.c
b/fs/xfs/xfs_aops.c
index 6bf120bb1a17da7f3b571964ee58719c9315fae3..c8ca03a5a08feeb7aff455f70e84eb528873580d 100644
(file)
--- a/
fs/xfs/xfs_aops.c
+++ b/
fs/xfs/xfs_aops.c
@@
-517,7
+517,7
@@
xfs_init_bio_from_bh(
struct buffer_head *bh)
{
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)
;
}
static struct xfs_ioend *