commit | 0586d54053ee00e6d6523d4f125282ccb9a24aab | [log] [tgz] |
---|---|---|
author | San Mehat <san@google.com> | Tue Jan 12 15:38:59 2010 -0800 |
committer | San Mehat <san@google.com> | Tue Jan 12 15:38:59 2010 -0800 |
tree | a4ab1d9721cceace7f5b6a3797e2926f9c3a2e60 | |
parent | dfe79492a4f5280e9de2db6fa749a7781c59f2a6 [diff] [blame] |
vold2: Fix issue with destroying / unmounting asec Signed-off-by: San Mehat <san@google.com>
diff --git a/Devmapper.cpp b/Devmapper.cpp index 74ed4fb..9dd8ef3 100644 --- a/Devmapper.cpp +++ b/Devmapper.cpp
@@ -190,7 +190,9 @@ ioctlInit(io, 4096, name, 0); if (ioctl(fd, DM_DEV_REMOVE, io)) { - LOGE("Error destroying device mapping (%s)", strerror(errno)); + if (errno != ENXIO) { + LOGE("Error destroying device mapping (%s)", strerror(errno)); + } free(buffer); close(fd); return -1;