Recognize _PC_SYNC_IO.

This commit is contained in:
kleink 1998-08-03 14:19:57 +00:00
parent d2753d235a
commit 12a866151b
10 changed files with 40 additions and 10 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: advnops.c,v 1.40 1998/06/25 22:20:39 thorpej Exp $ */
/* $NetBSD: advnops.c,v 1.41 1998/08/03 14:19:57 kleink Exp $ */
/*
* Copyright (c) 1994 Christian E. Hopps
@ -997,6 +997,9 @@ adosfs_pathconf(v)
case _PC_VDISABLE:
*sp->a_retval = _POSIX_VDISABLE;
return (0);
case _PC_SYNC_IO:
*sp->a_retval = 1;
return (0);
default:
return (EINVAL);
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: cd9660_vnops.c,v 1.47 1998/06/25 22:21:13 thorpej Exp $ */
/* $NetBSD: cd9660_vnops.c,v 1.48 1998/08/03 14:19:58 kleink Exp $ */
/*-
* Copyright (c) 1994
@ -884,6 +884,9 @@ cd9660_pathconf(v)
case _PC_NO_TRUNC:
*ap->a_retval = 1;
return (0);
case _PC_SYNC_IO:
*ap->a_retval = 1;
return (0);
default:
return (EINVAL);
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: fdesc_vnops.c,v 1.44 1998/03/01 02:21:08 fvdl Exp $ */
/* $NetBSD: fdesc_vnops.c,v 1.45 1998/08/03 14:19:59 kleink Exp $ */
/*
* Copyright (c) 1992, 1993
@ -965,6 +965,9 @@ fdesc_pathconf(v)
case _PC_VDISABLE:
*ap->a_retval = _POSIX_VDISABLE;
return (0);
case _PC_SYNC_IO:
*ap->a_retval = 1;
return (0);
default:
return (EINVAL);
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: fifo_vnops.c,v 1.25 1998/03/01 02:21:30 fvdl Exp $ */
/* $NetBSD: fifo_vnops.c,v 1.26 1998/08/03 14:19:59 kleink Exp $ */
/*
* Copyright (c) 1990, 1993, 1995
@ -498,6 +498,9 @@ fifo_pathconf(v)
case _PC_CHOWN_RESTRICTED:
*ap->a_retval = 1;
return (0);
case _PC_SYNC_IO:
*ap->a_retval = 1;
return (0);
default:
return (EINVAL);
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: kernfs_vnops.c,v 1.58 1998/03/08 14:04:14 mrg Exp $ */
/* $NetBSD: kernfs_vnops.c,v 1.59 1998/08/03 14:19:59 kleink Exp $ */
/*
* Copyright (c) 1992, 1993
@ -746,6 +746,9 @@ kernfs_pathconf(v)
case _PC_VDISABLE:
*ap->a_retval = _POSIX_VDISABLE;
return (0);
case _PC_SYNC_IO:
*ap->a_retval = 1;
return (0);
default:
return (EINVAL);
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: portal_vnops.c,v 1.29 1998/07/18 05:04:38 lukem Exp $ */
/* $NetBSD: portal_vnops.c,v 1.30 1998/08/03 14:20:00 kleink Exp $ */
/*
* Copyright (c) 1992, 1993
@ -669,6 +669,9 @@ portal_pathconf(v)
case _PC_VDISABLE:
*ap->a_retval = _POSIX_VDISABLE;
return (0);
case _PC_SYNC_IO:
*ap->a_retval = 1;
return (0);
default:
return (EINVAL);
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: procfs_vnops.c,v 1.54 1998/04/21 16:36:37 fvdl Exp $ */
/* $NetBSD: procfs_vnops.c,v 1.55 1998/08/03 14:20:00 kleink Exp $ */
/*
* Copyright (c) 1993 Jan-Simon Pendry
@ -391,6 +391,9 @@ procfs_pathconf(v)
case _PC_VDISABLE:
*ap->a_retval = _POSIX_VDISABLE;
return (0);
case _PC_SYNC_IO:
*ap->a_retval = 1;
return (0);
default:
return (EINVAL);
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: spec_vnops.c,v 1.40 1998/06/05 19:53:00 kleink Exp $ */
/* $NetBSD: spec_vnops.c,v 1.41 1998/08/03 14:20:00 kleink Exp $ */
/*
* Copyright (c) 1989, 1993
@ -653,6 +653,9 @@ spec_pathconf(v)
case _PC_VDISABLE:
*ap->a_retval = _POSIX_VDISABLE;
return (0);
case _PC_SYNC_IO:
*ap->a_retval = 1;
return (0);
default:
return (EINVAL);
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: msdosfs_vnops.c,v 1.72 1998/08/02 18:57:23 kleink Exp $ */
/* $NetBSD: msdosfs_vnops.c,v 1.73 1998/08/03 14:19:58 kleink Exp $ */
/*-
* Copyright (C) 1994, 1995, 1997 Wolfgang Solfrank.
@ -1922,6 +1922,9 @@ msdosfs_pathconf(v)
case _PC_NO_TRUNC:
*ap->a_retval = 0;
return (0);
case _PC_SYNC_IO:
*ap->a_retval = 1;
return (0);
default:
return (EINVAL);
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: ufs_vnops.c,v 1.44 1998/07/28 18:23:56 thorpej Exp $ */
/* $NetBSD: ufs_vnops.c,v 1.45 1998/08/03 14:19:58 kleink Exp $ */
/*
* Copyright (c) 1982, 1986, 1989, 1993, 1995
@ -1879,6 +1879,9 @@ ufs_pathconf(v)
case _PC_NO_TRUNC:
*ap->a_retval = 1;
return (0);
case _PC_SYNC_IO:
*ap->a_retval = 1;
return (0);
default:
return (EINVAL);
}