commit | 43ed123d3fc1a3edf3660cd0e2528e971abc399e | [log] [tgz] |
---|---|---|
author | Jeff Sharkey <jsharkey@android.com> | Fri Aug 22 12:29:05 2014 -0700 |
committer | Jeff Sharkey <jsharkey@android.com> | Fri Aug 22 15:39:41 2014 -0700 |
tree | 43206673662ffd45662fcf4ae13d5e0e4d8bdf22 | |
parent | e82df164e8128ec9df0072c4a4f3d92e79a0f5f4 [diff] |
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