OSDN Git Service

ASEC resize tweaking, allow read-write mounting.
authorJeff Sharkey <jsharkey@android.com>
Fri, 22 Aug 2014 19:29:05 +0000 (12:29 -0700)
committerJeff Sharkey <jsharkey@android.com>
Fri, 22 Aug 2014 22:39:41 +0000 (15:39 -0700)
commit43ed123d3fc1a3edf3660cd0e2528e971abc399e
tree43206673662ffd45662fcf4ae13d5e0e4d8bdf22
parente82df164e8128ec9df0072c4a4f3d92e79a0f5f4
ASEC resize tweaking, allow read-write mounting.

Resize is no-op when sector count is unchanged; the caller can't
anticipate how vold does its sector calculations.

After resizing, we need to mount the container read-write, so allow
the caller to request "ro" or "rw" mode.

Handle ENOTSUP when trying to fallocate() on some filesystems

Bug: 16514385
Change-Id: I0d3a378280d4c36d14f8108ff428102283d583fa
CommandListener.cpp
Loop.cpp
VolumeManager.cpp
VolumeManager.h