OSDN Git Service

Better error code for unmounting not-mounted volumes
authorKenny Root <kroot@google.com>
Fri, 1 Oct 2010 01:00:52 +0000 (18:00 -0700)
committerKenny Root <kroot@google.com>
Fri, 1 Oct 2010 01:02:34 +0000 (18:02 -0700)
commit918e5f9f10b9c1ff929683743ffbf229027ce240
treea27ad6a7d6b2d4e0d0cdfe66e7149b4367a99b8e
parentcbacf78eff70bd43bb899e164ec2ab409bc0904c
Better error code for unmounting not-mounted volumes

ENOENT is more descriptive than the generic error that EINVAL gets
turned into. Then we can actually treat it how we want on the other
side.

Change-Id: I9b4f3be6308e13f680eae368d2167ab9ee6aae5f
VolumeManager.cpp