Deleted Added
sdiff udiff text old ( 164248 ) new ( 166774 )
full compact
1/*-
2 * Copyright (c) 1989, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from software contributed
6 * to Berkeley by John Heidemann of the UCLA Ficus project.
7 *
8 * Source: * @(#)i405_init.c 2.10 92/04/27 UCLA Ficus project

--- 19 unchanged lines hidden (view full) ---

28 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
29 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32 * SUCH DAMAGE.
33 */
34
35#include <sys/cdefs.h>
36__FBSDID("$FreeBSD: head/sys/kern/vfs_default.c 164248 2006-11-13 05:51:22Z kmacy $");
37
38#include <sys/param.h>
39#include <sys/systm.h>
40#include <sys/bio.h>
41#include <sys/buf.h>
42#include <sys/conf.h>
43#include <sys/event.h>
44#include <sys/kernel.h>

--- 46 unchanged lines hidden (view full) ---

91 .vop_open = VOP_NULL,
92 .vop_pathconf = VOP_EINVAL,
93 .vop_poll = vop_nopoll,
94 .vop_putpages = vop_stdputpages,
95 .vop_readlink = VOP_EINVAL,
96 .vop_revoke = VOP_PANIC,
97 .vop_strategy = vop_nostrategy,
98 .vop_unlock = vop_stdunlock,
99};
100
101/*
102 * Series of placeholder functions for various error returns for
103 * VOPs.
104 */
105
106int

--- 399 unchanged lines hidden (view full) ---

506 vm_ooffset_t a_offset;
507 } */ *ap;
508{
509
510 return vnode_pager_generic_putpages(ap->a_vp, ap->a_m, ap->a_count,
511 ap->a_sync, ap->a_rtvals);
512}
513
514/*
515 * vfs default ops
516 * used to fill the vfs function table to get reasonable default return values.
517 */
518int
519vfs_stdroot (mp, flags, vpp, td)
520 struct mount *mp;
521 int flags;

--- 9 unchanged lines hidden (view full) ---

531 struct mount *mp;
532 struct statfs *sbp;
533 struct thread *td;
534{
535
536 return (EOPNOTSUPP);
537}
538
539int
540vfs_stdvptofh (vp, fhp)
541 struct vnode *vp;
542 struct fid *fhp;
543{
544
545 return (EOPNOTSUPP);
546}
547
548int
549vfs_stdquotactl (mp, cmds, uid, arg, td)
550 struct mount *mp;
551 int cmds;
552 uid_t uid;
553 void *arg;
554 struct thread *td;

--- 125 unchanged lines hidden ---