#define NR_VFS_CALLS 49 /* highest number from base plus one */
-/* Field names for the fsync(2) call. */
-#define VFS_FSYNC_FD m1_i1 /* int */
-
/* Field names for the lseek(2) call. */
#define VFS_LSEEK_FD m2_i1 /* int */
#define VFS_LSEEK_OFF m2_ll1 /* off_t */
} mess_sigcalls;
_ASSERT_MSG_SIZE(mess_sigcalls);
+typedef struct {
+ int fd;
+
+ uint8_t padding[52];
+} mess_lc_vfs_fsync;
+_ASSERT_MSG_SIZE(mess_lc_vfs_fsync);
+
typedef struct {
int32_t flags;
size_t len;
mess_fs_vfs_readsuper m_fs_vfs_readsuper;
mess_fs_vfs_readwrite m_fs_vfs_readwrite;
+ mess_lc_vfs_fsync m_lc_vfs_fsync;
mess_lc_vfs_getvfsstat m_lc_vfs_getvfsstat;
mess_lc_vfs_ioctl m_lc_vfs_ioctl;
mess_lc_vfs_mount m_lc_vfs_mount;
message m;
memset(&m, 0, sizeof(m));
- m.VFS_FSYNC_FD = fd;
+ m.m_lc_vfs_fsync.fd = fd;
return(_syscall(VFS_PROC_NR, VFS_FSYNC, &m));
}
dev_t dev;
int r = OK;
- scratch(fp).file.fd_nr = job_m_in.VFS_FSYNC_FD;
+ scratch(fp).file.fd_nr = job_m_in.m_lc_vfs_fsync.fd;
if ((rfilp = get_filp(scratch(fp).file.fd_nr, VNODE_READ)) == NULL)
return(err_code);