summaryrefslogtreecommitdiffstats
path: root/partition.cpp
diff options
context:
space:
mode:
authorMatt Mower <mowerm@gmail.com>2014-03-21 02:21:09 +0100
committerbigbiff bigbiff <bigbiff@teamw.in>2014-03-30 20:27:28 +0200
commitf77994d270b475f2b7d824e98228c4cfb5bda906 (patch)
tree7274532553eb5ad20ceda077f299f9b323ece197 /partition.cpp
parentRe-arrange handling of settings storage partition (diff)
downloadandroid_bootable_recovery-f77994d270b475f2b7d824e98228c4cfb5bda906.tar
android_bootable_recovery-f77994d270b475f2b7d824e98228c4cfb5bda906.tar.gz
android_bootable_recovery-f77994d270b475f2b7d824e98228c4cfb5bda906.tar.bz2
android_bootable_recovery-f77994d270b475f2b7d824e98228c4cfb5bda906.tar.lz
android_bootable_recovery-f77994d270b475f2b7d824e98228c4cfb5bda906.tar.xz
android_bootable_recovery-f77994d270b475f2b7d824e98228c4cfb5bda906.tar.zst
android_bootable_recovery-f77994d270b475f2b7d824e98228c4cfb5bda906.zip
Diffstat (limited to '')
-rw-r--r--partition.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/partition.cpp b/partition.cpp
index 640a280ef..1ae54f57e 100644
--- a/partition.cpp
+++ b/partition.cpp
@@ -1822,9 +1822,7 @@ bool TWPartition::Update_Size(bool Display_Error) {
if (Has_Data_Media) {
if (Mount(Display_Error)) {
unsigned long long data_media_used, actual_data;
- du.add_relative_dir("media");
Used = du.Get_Folder_Size("/data");
- du.clear_relative_dir("media");
Backup_Size = Used;
int bak = (int)(Used / 1048576LLU);
int fre = (int)(Free / 1048576LLU);