mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 12:17:12 +09:00
Revert "ANDROID: Incremental fs: Remove annoying pr_debugs"
This reverts commit 9d06e6e105.
Set incfs back to rvc shipping incfs
Bug: 178509184
Test: incfs_test passes
Signed-off-by: Paul Lawrence <paullawrence@google.com>
Change-Id: Iec948b7c2b96f394392d421caf3f11fd883825aa
This commit is contained in:
@@ -1257,6 +1257,8 @@ int incfs_scan_metadata_chain(struct data_file *df)
|
||||
handler->handle_file_attr = process_file_attr_md;
|
||||
handler->handle_signature = process_file_signature_md;
|
||||
|
||||
pr_debug("incfs: Starting reading incfs-metadata records at offset %lld\n",
|
||||
handler->md_record_offset);
|
||||
while (handler->md_record_offset > 0) {
|
||||
error = incfs_read_next_metadata_record(bfc, handler);
|
||||
if (error) {
|
||||
@@ -1268,11 +1270,14 @@ int incfs_scan_metadata_chain(struct data_file *df)
|
||||
records_count++;
|
||||
}
|
||||
if (error) {
|
||||
pr_warn("incfs: Error %d after reading %d incfs-metadata records.\n",
|
||||
pr_debug("incfs: Error %d after reading %d incfs-metadata records.\n",
|
||||
-error, records_count);
|
||||
result = error;
|
||||
} else
|
||||
} else {
|
||||
pr_debug("incfs: Finished reading %d incfs-metadata records.\n",
|
||||
records_count);
|
||||
result = records_count;
|
||||
}
|
||||
mutex_unlock(&bfc->bc_mutex);
|
||||
|
||||
if (df->df_hash_tree) {
|
||||
|
||||
Reference in New Issue
Block a user