···175 the ntfs inode in memory if present. Also, the ntfs inode has its176 own locking so it does not matter if the vfs inode is locked.177 - Fix bug in mft record writing where we forgot to set the device in178- the buffers when mapping them after the VM had discarded them179 Thanks to Martin MOKREJŠ for the bug report.1801812.1.22 - Many bug and race fixes and error handling improvements.
···175 the ntfs inode in memory if present. Also, the ntfs inode has its176 own locking so it does not matter if the vfs inode is locked.177 - Fix bug in mft record writing where we forgot to set the device in178+ the buffers when mapping them after the VM had discarded them.179 Thanks to Martin MOKREJŠ for the bug report.1801812.1.22 - Many bug and race fixes and error handling improvements.
+1
fs/ntfs/aops.c
···924 LCN lcn;925 unsigned int vcn_ofs;9260927 /* Obtain the vcn and offset of the current block. */928 vcn = (VCN)block << bh_size_bits;929 vcn_ofs = vcn & vol->cluster_size_mask;
···924 LCN lcn;925 unsigned int vcn_ofs;926927+ bh->b_bdev = vol->sb->s_bdev;928 /* Obtain the vcn and offset of the current block. */929 vcn = (VCN)block << bh_size_bits;930 vcn_ofs = vcn & vol->cluster_size_mask;