commit | a4dc3b15b7886f661675ab5243800c80831e549b | [log] [tgz] |
---|---|---|
author | San Mehat <san@google.com> | Fri Jan 22 14:48:31 2010 -0800 |
committer | San Mehat <san@google.com> | Fri Jan 22 14:48:31 2010 -0800 |
tree | 5937c32749d5feb22d1ff689f6b89c919efeba55 | |
parent | 5817821cf10b5f7d13eb693ffbc3f80f13bc681b [diff] |
vold: Don't fail to return path if volume isn't mounted Signed-off-by: San Mehat <san@google.com>
diff --git a/VolumeManager.cpp b/VolumeManager.cpp index 4b3342e..65e2989 100644 --- a/VolumeManager.cpp +++ b/VolumeManager.cpp
@@ -165,11 +165,6 @@ char mountPoint[255]; snprintf(mountPoint, sizeof(mountPoint), "/asec/%s", id); - - if (!isMountpointMounted(mountPoint)) { - errno = ENOENT; - return -1; - } snprintf(buffer, maxlen, "/asec/%s", id); return 0; }