diff options
author | Paul Lawrence <paullawrence@google.com> | 2014-09-09 10:44:51 -0700 |
---|---|---|
committer | Paul Lawrence <paullawrence@google.com> | 2014-09-11 17:31:49 -0700 |
commit | cf234dc7e081ac4063c3c5ddcdd4da40c82d51cb (patch) | |
tree | 749d82aeca848cf7ed600162567c2c61938f77a4 /fs_mgr/include | |
parent | c3e6eb21b58ae3067ed03358687d1edb851f2abf (diff) | |
download | system_core-cf234dc7e081ac4063c3c5ddcdd4da40c82d51cb.zip system_core-cf234dc7e081ac4063c3c5ddcdd4da40c82d51cb.tar.gz system_core-cf234dc7e081ac4063c3c5ddcdd4da40c82d51cb.tar.bz2 |
Preserve errno from fsmgr_do_mount
Bug: 17358530
Change-Id: I4cd7403c0b7c4f878d6afa5199f998e6f614adb9
Diffstat (limited to 'fs_mgr/include')
-rw-r--r-- | fs_mgr/include/fs_mgr.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs_mgr/include/fs_mgr.h b/fs_mgr/include/fs_mgr.h index d9c58d4..0c7eb20 100644 --- a/fs_mgr/include/fs_mgr.h +++ b/fs_mgr/include/fs_mgr.h @@ -59,6 +59,9 @@ void fs_mgr_free_fstab(struct fstab *fstab); #define FS_MGR_MNTALL_DEV_MIGHT_BE_ENCRYPTED 1 #define FS_MGR_MNTALL_DEV_NOT_ENCRYPTED 0 int fs_mgr_mount_all(struct fstab *fstab); + +#define FS_MGR_DOMNT_FAILED -1 +#define FS_MGR_DOMNT_BUSY -2 int fs_mgr_do_mount(struct fstab *fstab, char *n_name, char *n_blk_device, char *tmp_mount_point); int fs_mgr_do_tmpfs_mount(char *n_name); |