Merge "fs_mgr: fix const parameter in fs_mgr_do_tmpfs_mount" am: 7a5d535cd2

am: be838ae027

Change-Id: I0ce99e223f7984e8373e77b8eaa5ff419529fccb
This commit is contained in:
Wei Wang 2017-02-25 05:17:23 +00:00 committed by android-build-merger
commit 771f642d89
2 changed files with 2 additions and 2 deletions

View File

@ -1020,7 +1020,7 @@ out:
* mount a tmpfs filesystem at the given point.
* return 0 on success, non-zero on failure.
*/
int fs_mgr_do_tmpfs_mount(char *n_name)
int fs_mgr_do_tmpfs_mount(const char *n_name)
{
int ret;

View File

@ -106,7 +106,7 @@ int fs_mgr_mount_all(struct fstab *fstab, int mount_mode);
int fs_mgr_do_mount(struct fstab *fstab, const char *n_name, char *n_blk_device,
char *tmp_mount_point);
int fs_mgr_do_mount_one(struct fstab_rec *rec);
int fs_mgr_do_tmpfs_mount(char *n_name);
int fs_mgr_do_tmpfs_mount(const char *n_name);
int fs_mgr_unmount_all(struct fstab *fstab);
int fs_mgr_get_crypt_info(struct fstab *fstab, char *key_loc,
char *real_blk_device, int size);