Commit d5aeaef3 authored by Anton Altaparmakov's avatar Anton Altaparmakov

NTFS: Fix serious data corruption issue when writing.

      Many thanks to Alberto Patino for testing and reporting the data
      corruption.  And many apologies for corrupting his partition.
Signed-off-by: default avatarAnton Altaparmakov <aia21@cantab.net>
parent 7d0ffdb2
......@@ -787,6 +787,7 @@ retry_remap:
vcn_len = rl[1].vcn - vcn;
lcn_block = lcn << (vol->cluster_size_bits -
blocksize_bits);
cdelta = 0;
/*
* If the number of remaining clusters in the
* @pages is smaller or equal to the number of
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment