diff options
author | Koushik Dutta <koushd@gmail.com> | 2012-07-15 15:30:43 -0700 |
---|---|---|
committer | Koushik Dutta <koushd@gmail.com> | 2012-07-15 15:30:43 -0700 |
commit | 214cc5d092ba8a4d17cc4e9ad4a351c408e2b393 (patch) | |
tree | 43ceb943b683dc9810ac336b795b76b35868bb72 /roots.c | |
parent | 05b41c988b704913045aa776ee64298400e72c83 (diff) | |
download | bootable_recovery-214cc5d092ba8a4d17cc4e9ad4a351c408e2b393.zip bootable_recovery-214cc5d092ba8a4d17cc4e9ad4a351c408e2b393.tar.gz bootable_recovery-214cc5d092ba8a4d17cc4e9ad4a351c408e2b393.tar.bz2 |
forward port CWM to jellybean
Change-Id: Ibd66afe03c9a2c183e4c7db35fe34adf0f5e24ff
Diffstat (limited to 'roots.c')
-rw-r--r-- | roots.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -336,6 +336,8 @@ int ensure_path_unmounted(const char* path) { return unmount_mounted_volume(mv); } +extern struct selabel_handle *sehandle; + int format_volume(const char* volume) { Volume* v = volume_for_path(volume); if (v == NULL) { @@ -395,7 +397,7 @@ int format_volume(const char* volume) { } if (strcmp(v->fs_type, "ext4") == 0) { - int result = make_ext4fs(v->device, v->length); + int result = make_ext4fs(v->device, v->length, volume, sehandle); if (result != 0) { LOGE("format_volume: make_extf4fs failed on %s\n", v->device); return -1; |