Alias sys_fsync to sys_close
* file.c (sys_fsync): Remove.
* linux/syscall.h (sys_fsync): Likewise.
* linux/dummy.h (sys_fsync): Alias to sys_close.
* linux/m68k/syscallent.h: Add TD flag to fsync entry.
* linux/microblaze/syscallent.h: Likewise.
* linux/mips/syscallent.h: Likewise.
diff --git a/linux/dummy.h b/linux/dummy.h
index 493da2a..b242ec7 100644
--- a/linux/dummy.h
+++ b/linux/dummy.h
@@ -75,6 +75,7 @@
#define sys_dup sys_close
#define sys_fchdir sys_close
#define sys_fdatasync sys_close
+#define sys_fsync sys_close
#define sys_geteuid sys_getuid
#define sys_getegid sys_getuid
#define sys_getgid sys_getuid
diff --git a/linux/m68k/syscallent.h b/linux/m68k/syscallent.h
index cdbbba7..947937a 100644
--- a/linux/m68k/syscallent.h
+++ b/linux/m68k/syscallent.h
@@ -146,7 +146,7 @@
{ 1, TF, sys_swapoff, "swapoff" }, /* 115 */
{ 1, 0, sys_sysinfo, "sysinfo" }, /* 116 */
{ 6, TI, sys_ipc, "ipc" }, /* 117 */
- { 1, 0, sys_fsync, "fsync" }, /* 118 */
+ { 1, TD, sys_fsync, "fsync" }, /* 118 */
{ 0, TS, sys_sigreturn, "sigreturn" }, /* 119 */
{ 5, TP, sys_clone, "clone" }, /* 120 */
{ 2, 0, sys_setdomainname, "setdomainname" }, /* 121 */
diff --git a/linux/microblaze/syscallent.h b/linux/microblaze/syscallent.h
index e606cc6..2d11d3c 100644
--- a/linux/microblaze/syscallent.h
+++ b/linux/microblaze/syscallent.h
@@ -144,7 +144,7 @@
{ 1, TF, sys_swapoff, "swapoff" }, /* 115 */
{ 1, 0, sys_sysinfo, "sysinfo" }, /* 116 */
{ 6, TI, sys_ipc, "ipc" }, /* 117 */
- { 1, 0, sys_fsync, "fsync" }, /* 118 */
+ { 1, TD, sys_fsync, "fsync" }, /* 118 */
{ 0, TS, sys_sigreturn, "sigreturn" }, /* 119 */
{ 5, TP, sys_clone, "clone" }, /* 120 */
{ 2, 0, sys_setdomainname, "setdomainname" }, /* 121 */
diff --git a/linux/mips/syscallent.h b/linux/mips/syscallent.h
index d5d92c7..7c0727a 100644
--- a/linux/mips/syscallent.h
+++ b/linux/mips/syscallent.h
@@ -5425,7 +5425,7 @@
{ 3, TI, sys_msgctl, "msgctl" }, /* 5069 */
{ 3, 0, sys_fcntl, "fcntl" }, /* 5070 */
{ 2, 0, sys_flock, "flock" }, /* 5071 */
- { 1, 0, sys_fsync, "fsync" }, /* 5072 */
+ { 1, TD, sys_fsync, "fsync" }, /* 5072 */
{ 1, 0, sys_fdatasync, "fdatasync" }, /* 5073 */
{ 2, TF, sys_truncate, "truncate" }, /* 5074 */
{ 2, 0, sys_ftruncate, "ftruncate" }, /* 5075 */
@@ -6736,7 +6736,7 @@
{ 3, TI, sys_msgctl, "msgctl" }, /* 6069 */
{ 3, 0, sys_fcntl, "fcntl" }, /* 6070 */
{ 2, 0, sys_flock, "flock" }, /* 6071 */
- { 1, 0, sys_fsync, "fsync" }, /* 6072 */
+ { 1, TD, sys_fsync, "fsync" }, /* 6072 */
{ 1, 0, sys_fdatasync, "fdatasync" }, /* 6073 */
{ 2, TF, sys_truncate, "truncate" }, /* 6074 */
{ 2, 0, sys_ftruncate, "ftruncate" }, /* 6075 */
diff --git a/linux/syscall.h b/linux/syscall.h
index a260048..5e61c11 100644
--- a/linux/syscall.h
+++ b/linux/syscall.h
@@ -82,7 +82,6 @@
int sys_fstat64();
int sys_fstatfs();
int sys_fstatfs64();
-int sys_fsync();
int sys_ftruncate();
int sys_ftruncate64();
int sys_futex();