mirror of
https://git.code.sf.net/p/ntfs-3g/ntfs-3g.git
synced 2024-11-23 10:04:00 +08:00
Fixed missing error return in playlog
No error was returned from reading a protected record which is part of an unreadable raw cluster.
This commit is contained in:
parent
3c964b6af3
commit
aade4c46b6
@ -691,7 +691,8 @@ static int write_protected(ntfs_volume *vol, const struct LOG_RECORD *logr,
|
||||
err = write_mirr(vol, logr,
|
||||
full);
|
||||
free(full);
|
||||
}
|
||||
} else
|
||||
err = 1;
|
||||
} else {
|
||||
/* write full clusters */
|
||||
err = write_raw(vol, logr, buffer);
|
||||
|
Loading…
Reference in New Issue
Block a user