OSDN Git Service

ntfswipe.c: Fix support for non-1024 byte MFT record sizes in wipe_mft.
authorErik Larsson <mechie@users.sourceforge.net>
Mon, 9 Jan 2012 02:30:51 +0000 (03:30 +0100)
committerErik Larsson <mechie@users.sourceforge.net>
Fri, 13 Jan 2012 07:54:45 +0000 (08:54 +0100)
commit82ea9c6e0750d93b0daed22326065f7c4394d37c
treeaa5d3b2825f89da4e0beaafe358b4882875e9c0b
parent5f7c535b55a9dfebe0058c7e373a0c297651a6c5
ntfswipe.c: Fix support for non-1024 byte MFT record sizes in wipe_mft.

'wipe_mft' was hardcoded to use the USA size of a 1024 byte MFT record
when creating new blank MFT entries. It now calculates the USA size
based on vol->mft_record_size.
ntfsprogs/ntfswipe.c