Lines Matching refs:bh2
839 struct buffer_head *bh1, *bh2; in ntfs_update_mftmirr() local
845 bh2 = sb_getblk(sb, block2++); in ntfs_update_mftmirr()
846 if (!bh2) { in ntfs_update_mftmirr()
851 if (buffer_locked(bh2)) in ntfs_update_mftmirr()
852 __wait_on_buffer(bh2); in ntfs_update_mftmirr()
854 lock_buffer(bh2); in ntfs_update_mftmirr()
855 memcpy(bh2->b_data, bh1->b_data, blocksize); in ntfs_update_mftmirr()
856 set_buffer_uptodate(bh2); in ntfs_update_mftmirr()
857 mark_buffer_dirty(bh2); in ntfs_update_mftmirr()
858 unlock_buffer(bh2); in ntfs_update_mftmirr()
864 err = sync_dirty_buffer(bh2); in ntfs_update_mftmirr()
866 put_bh(bh2); in ntfs_update_mftmirr()