]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add sync_file_range(2) implementation to linux(4); it's a thin wrapper
authortrasz <trasz@FreeBSD.org>
Sat, 14 Dec 2019 13:37:17 +0000 (13:37 +0000)
committertrasz <trasz@FreeBSD.org>
Sat, 14 Dec 2019 13:37:17 +0000 (13:37 +0000)
commit820308e362842a8bf5db2d437e6ee913c7919889
tree639b86ddd6195671fd10b10ab90e14e16cd46e87
parent2d2dde30e5b9735fa9ade8f138bb5ccdd296c3a8
Add sync_file_range(2) implementation to linux(4); it's a thin wrapper
over the usual fsync(2).

This silences some warnings when running "apt-get upgrade".

Reviewed by: brooks, emaste
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D22371
sys/amd64/linux/linux_dummy.c
sys/amd64/linux32/linux32_dummy.c
sys/arm64/linux/linux_dummy.c
sys/compat/linux/linux_file.c
sys/compat/linux/linux_file.h
sys/i386/linux/linux_dummy.c