OSDN Git Service

Fixed reporting action states when restart page appears outdated
authorJean-Pierre André <jpandre@users.sourceforge.net>
Tue, 1 Dec 2015 10:10:48 +0000 (11:10 +0100)
committerJean-Pierre André <jpandre@users.sourceforge.net>
Tue, 1 Dec 2015 10:10:48 +0000 (11:10 +0100)
commitca70766dc49d1ef6b61a8e5c6454a63bf8ceb1ab
tree418fe1fd000f16ccede999a1f7736a4cd133fec8
parentf7cbf30d5451d6c184913214f54cf15da378eae8
Fixed reporting action states when restart page appears outdated

If start buffer is more recent than restart, we update committed LSN
with last record LSN of block (last_end_lsn) while applying action but
forget about it while printing records with -f for investigation
purpose.

Note that while applying actions we use start_buffer to calculate
latest page out of block 2 and block 3 and then from latest take
committed LSN. For -f we don't need buffers so we just compare
directly with committed LSN from restart.

(contributed by Rakesh Pandit)
ntfsprogs/ntfsrecover.c