Fix corner case in hole instantiating in ntfs_attr_pwrite(). (Szaka)
parent
95b044cff3
commit
219d353226
|
@ -1260,6 +1260,8 @@ s64 ntfs_attr_pwrite(ntfs_attr *na, const s64 pos, s64 count, const void *b)
|
|||
if (rlc->lcn >= 0) {
|
||||
lcn_seek_from = rlc->lcn -
|
||||
(rlc->vcn - from_vcn);
|
||||
if (lcn_seek_from < -1)
|
||||
lcn_seek_from = -1;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue