X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=fs%2Fntfs%2Faops.c;h=78adad7a988d981a22f61b739cc082071ddc8513;hb=f2ab4461249df85b20930a7a57b54f39c5ae291a;hp=3f43bfe6184ea2b344b426313972347b0cf6fb0e;hpb=8ed693d29b25bbd88471ec043cc01581419d0481;p=linux-2.6 diff --git a/fs/ntfs/aops.c b/fs/ntfs/aops.c index 3f43bfe618..78adad7a98 100644 --- a/fs/ntfs/aops.c +++ b/fs/ntfs/aops.c @@ -924,6 +924,7 @@ static int ntfs_write_mst_block(struct page *page, LCN lcn; unsigned int vcn_ofs; + bh->b_bdev = vol->sb->s_bdev; /* Obtain the vcn and offset of the current block. */ vcn = (VCN)block << bh_size_bits; vcn_ofs = vcn & vol->cluster_size_mask;