summaryrefslogtreecommitdiffstats
path: root/libcutils/sched_policy.c
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2014-04-25 14:28:54 -0700
committerColin Cross <ccross@android.com>2014-04-25 15:19:18 -0700
commit0e3f47e4827a067b9b9795a3ae7297b51c9f0776 (patch)
tree83a1c9a76d708c900155729d92687ac78b59984f /libcutils/sched_policy.c
parent9fdc8156ca8fb3449859bebf080a477fa3bcff5c (diff)
downloadsystem_core-0e3f47e4827a067b9b9795a3ae7297b51c9f0776.zip
system_core-0e3f47e4827a067b9b9795a3ae7297b51c9f0776.tar.gz
system_core-0e3f47e4827a067b9b9795a3ae7297b51c9f0776.tar.bz2
append2simg: write to temporary file
append2simg causes libsparse to write mmapped data from a file back to that same file. On btrfs, this sometimes causes a page of zeroes to be written instead of the file data. Work around the issue by writing the output to a temporary file and then renaming it over the original file. Change-Id: Ia194b6ba0ddb8548747b63292b523756f544706a
Diffstat (limited to 'libcutils/sched_policy.c')
0 files changed, 0 insertions, 0 deletions