aboutsummaryrefslogtreecommitdiff
path: root/fs/ntfs/mft.c
diff options
context:
space:
mode:
authorTony Luck <tony.luck@intel.com>2005-08-16 11:29:57 -0700
committerTony Luck <tony.luck@intel.com>2005-08-16 11:29:57 -0700
commitf7001e8f1fa5369ee24f58255726a04a2019e4bd (patch)
tree1bbdd233ad0cf2e0adb4eb04f22b7bfa59a43494 /fs/ntfs/mft.c
parent85f265d887d2389376f1caa191e9682085feb76e (diff)
parentcf59001235c5a36f3e3701bd593a78cf955a4242 (diff)
Auto-update from upstream
Diffstat (limited to 'fs/ntfs/mft.c')
-rw-r--r--fs/ntfs/mft.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/ntfs/mft.c b/fs/ntfs/mft.c
index ac9ff39aa83..317f7c679fd 100644
--- a/fs/ntfs/mft.c
+++ b/fs/ntfs/mft.c
@@ -533,6 +533,7 @@ int ntfs_sync_mft_mirror(ntfs_volume *vol, const unsigned long mft_no,
LCN lcn;
unsigned int vcn_ofs;
+ bh->b_bdev = vol->sb->s_bdev;
/* Obtain the vcn and offset of the current block. */
vcn = ((VCN)mft_no << vol->mft_record_size_bits) +
(block_start - m_start);
@@ -725,6 +726,7 @@ int write_mft_record_nolock(ntfs_inode *ni, MFT_RECORD *m, int sync)
LCN lcn;
unsigned int vcn_ofs;
+ bh->b_bdev = vol->sb->s_bdev;
/* Obtain the vcn and offset of the current block. */
vcn = ((VCN)ni->mft_no << vol->mft_record_size_bits) +
(block_start - m_start);