More fixes for internal FAT partitions:
Fix formatting partitions beyond the first partition.
Do not try to initialize the MBR when formatting only a single partition.
Change-Id: Ifbbd279b1c288b7b1b884a1a89248e3086ed735f
Signed-off-by: Mike Lockwood <lockwood@android.com>
diff --git a/Volume.h b/Volume.h
index f81afff..64cd7cb 100644
--- a/Volume.h
+++ b/Volume.h
@@ -51,6 +51,7 @@
char *mMountpoint;
VolumeManager *mVm;
bool mDebug;
+ int mPartIdx;
/*
* The major/minor tuple of the currently mounted filesystem.