Remove unused MAX_PARTS define

The MAX_PARTS define is not used anywhere in the source code and as
the MAX_PARTITIONS constant was introduced at the same time and used
to hold the same value it's most likely just a remainder from the
development of the partition support code.

Change-Id: I2ae8a062c5643839429f4e3e30a9af05597ce499
Merge "Remove unused MAX_PARTS define"
am 98d05700: Merge "Remove unused MAX_PARTS define"

* commit '98d05700d6055532e6e37675e21b83b3c97b7c6e':
  Remove unused MAX_PARTS define
am 4d9c9bd5: merge in klp-release (no-op)

* commit '4d9c9bd5cc5f81954b1e9724d125b8947b412b04':
am 18afaca1: Merge "DO NOT MERGE. Fix crash in vold" into klp-dev

* commit '18afaca1ad6f480ab6ac259278c8c8013aaab45a':
  DO NOT MERGE. Fix crash in vold
am 10939ac7: Merge "Extract UUID and label from inserted volumes." into klp-dev

* commit '10939ac7e8c9fd141f45f1d6d82c78d5f5f5319c':
  Extract UUID and label from inserted volumes.
am bcdbd9ac: Merge "Clean up ASEC unmounting on physical storage." into klp-dev

* commit 'bcdbd9ac0657a27ff9f7772e74c45ec1e2d460c7':
  Clean up ASEC unmounting on physical storage.
am cc21d6ea: Use correct minor device number to format SD card

* commit 'cc21d6ea5881a9f576296317bde8d818b3e4fc01':
  Use correct minor device number to format SD card
am 6bcd362e: Handle missing UUID/LABEL from blkid.

* commit '6bcd362edd1f0ad97807276ff7f9f16991df99a4':
  Handle missing UUID/LABEL from blkid.
am 7bdfa52d: vold: cryptfs: Don\'t update KDF without validating pwd/key.

* commit '7bdfa52d934465e2182e2f1c200c4d8581ad5da6':
  vold: cryptfs: Don't update KDF without validating pwd/key.
vold: remove $(KERNEL_HEADERS) from include path

The kernel headers are already in the include path, and manually
adding them again will break on a multiarch build, where the
kernel headers may be different for each arch.

Change-Id: Ifb11fa7bdff6b317c44258968244313b7039a9e1
Merge "vold: remove $(KERNEL_HEADERS) from include path"
vold: fix warnings for 64-bit

Replace MINOR(dev_t) and MAJOR(dev_t) with minor and major,
which cast to int.
Cast int to uintptr_t before casting to pointer

Change-Id: I59375518f15d27f400fcd4f8a8dfe5ebdd8350e6
Merge "vold: fix warnings for 64-bit"
Validate asec names.

Make sure asec names only contain alphanumeric, underscores,
dots, or dashes. Don't allow double dots.

Bug: 12504045

(cherry picked from commit 669626096513cf741646cf18a9e8ba246d359596)

Change-Id: Ia9d04f373aa95878b2e81584c4167dc2d4aa0c78
am 0de7c611: Validate asec names.

* commit '0de7c61102611ccd5df1ca48cb733bf037512c6b':
  Validate asec names.
am f4770dcf: am 0de7c611: Validate asec names.

* commit 'f4770dcf6ffe2baba16cbb290aba16f735c51962':
  Validate asec names.
am fd2dcf90: am f4770dcf: am 0de7c611: Validate asec names.

* commit 'fd2dcf905abd3dc76738fd864e3979bd6e5ce183':
  Validate asec names.
am 3e03bf8a: am fd2dcf90: am f4770dcf: am 0de7c611: Validate asec names.

* commit '3e03bf8a7ab9dcee8897f275c75adfcdb20e0fdc':
  Validate asec names.
am 35ab6119: am 3e03bf8a: am fd2dcf90: am f4770dcf: am 0de7c611: Validate asec names.

* commit '35ab611925aea29fc4088b5c3de7c8c77d956b8b':
  Validate asec names.