Signed-off-by: Jens Axboe <ax...@fb.com>
---
 fs/btrfs/inode.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c
index d2e732d7af52..804fd6768109 100644
--- a/fs/btrfs/inode.c
+++ b/fs/btrfs/inode.c
@@ -8046,6 +8046,7 @@ static void btrfs_submit_direct(int rw, struct bio 
*dio_bio,
        atomic_set(&dip->pending_bios, 0);
        btrfs_bio = btrfs_io_bio(io_bio);
        btrfs_bio->logical = file_offset;
+       bio_set_streamid(io_bio, inode_streamid(inode));
 
        if (write) {
                io_bio->bi_end_io = btrfs_endio_direct_write;
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to