diff options
author | Jakub Jelinek <jakub@redhat.com> | 2009-11-17 18:04:51 -0800 |
---|---|---|
committer | Petr Baudis <pasky@ucw.cz> | 2009-11-19 23:03:21 +0100 |
commit | 1bc1954c735788ae9e7f954e18cf39a22f964d06 (patch) | |
tree | ff4f263f4fb525f0e1dadc320ce2755e545d938d /ChangeLog | |
parent | 16b583ea7ec0b96c8908e6c5418836f74554329a (diff) | |
download | glibc-1bc1954c735788ae9e7f954e18cf39a22f964d06.tar.gz glibc-1bc1954c735788ae9e7f954e18cf39a22f964d06.tar.xz glibc-1bc1954c735788ae9e7f954e18cf39a22f964d06.zip |
Fix sync_file_range on ppc/ppc64.
I've noticed that sync_file_range is a stub on ppc/ppc64. The kernel on these arches provides sync_file_range2 syscall with swapped parameters. The following completely untested patch ought to fix this. (cherry picked from commit 8ad81b316bc158746aee18aa7d7df44d3eb61871)
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index b6f77ff8ed..34212ee6c8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2009-11-16 Jakub Jelinek <jakub@redhat.com> + + * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range): + Implement using sync_file_range2 syscall if __NR_sync_file_range2 + is defined. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c: New + file. + 2009-11-19 Ulrich Drepper <drepper@redhat.com> [BZ #10958] |