diff options
Diffstat (limited to 'fs/btrfs/extent_io.c')
-rw-r--r-- | fs/btrfs/extent_io.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/btrfs/extent_io.c b/fs/btrfs/extent_io.c index e8130c876330..7e3a1ebde9fc 100644 --- a/fs/btrfs/extent_io.c +++ b/fs/btrfs/extent_io.c | |||
@@ -1706,9 +1706,9 @@ static int submit_one_bio(int rw, struct bio *bio) | |||
1706 | WARN_ON(1); | 1706 | WARN_ON(1); |
1707 | } | 1707 | } |
1708 | if (tree->ops && tree->ops->submit_bio_hook) | 1708 | if (tree->ops && tree->ops->submit_bio_hook) |
1709 | tree->ops->submit_bio_hook(rw, bio); | 1709 | tree->ops->submit_bio_hook(page->mapping->host, rw, bio); |
1710 | 1710 | else | |
1711 | submit_bio(rw, bio); | 1711 | submit_bio(rw, bio); |
1712 | if (bio_flagged(bio, BIO_EOPNOTSUPP)) | 1712 | if (bio_flagged(bio, BIO_EOPNOTSUPP)) |
1713 | ret = -EOPNOTSUPP; | 1713 | ret = -EOPNOTSUPP; |
1714 | bio_put(bio); | 1714 | bio_put(bio); |