mirror of
https://github.com/ostreedev/ostree.git
synced 2025-03-19 22:50:35 +03:00
libglnx porting: Port away from gs_file_map_noatime()
The "no atime" thing was mostly useful only before "relative atime" updates landed. Users who care about performance will turn it off entirely anyways. Closes: #316 Approved by: jlebon
This commit is contained in:
parent
c148631a98
commit
900c085f21
@ -4459,7 +4459,7 @@ sign_data (OstreeRepo *self,
|
||||
if (!g_output_stream_close (tmp_signature_output, cancellable, error))
|
||||
goto out;
|
||||
|
||||
signature_file = gs_file_map_noatime (tmp_signature_file, cancellable, error);
|
||||
signature_file = g_mapped_file_new (gs_file_get_path_cached (tmp_signature_file), FALSE, error);
|
||||
if (!signature_file)
|
||||
goto out;
|
||||
ret_signature = g_mapped_file_get_bytes (signature_file);
|
||||
|
Loading…
x
Reference in New Issue
Block a user