Deleted Added
full compact
msdosfs_vfsops.c (101308) msdosfs_vfsops.c (101777)
1/* $FreeBSD: head/sys/fs/msdosfs/msdosfs_vfsops.c 101308 2002-08-04 10:29:36Z jeff $ */
1/* $FreeBSD: head/sys/fs/msdosfs/msdosfs_vfsops.c 101777 2002-08-13 10:05:50Z phk $ */
2/* $NetBSD: msdosfs_vfsops.c,v 1.51 1997/11/17 15:36:58 ws Exp $ */
3
4/*-
5 * Copyright (C) 1994, 1995, 1997 Wolfgang Solfrank.
6 * Copyright (C) 1994, 1995, 1997 TooLs GmbH.
7 * All rights reserved.
8 * Original code by Paul Popelka (paulp@uts.amdahl.com) (see below).
9 *

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

84#endif
85
86MALLOC_DEFINE(M_MSDOSFSMNT, "MSDOSFS mount", "MSDOSFS mount structure");
87static MALLOC_DEFINE(M_MSDOSFSFAT, "MSDOSFS FAT", "MSDOSFS file allocation table");
88
89static int update_mp(struct mount *mp, struct msdosfs_args *argp);
90static int mountmsdosfs(struct vnode *devvp, struct mount *mp,
91 struct thread *td, struct msdosfs_args *argp);
2/* $NetBSD: msdosfs_vfsops.c,v 1.51 1997/11/17 15:36:58 ws Exp $ */
3
4/*-
5 * Copyright (C) 1994, 1995, 1997 Wolfgang Solfrank.
6 * Copyright (C) 1994, 1995, 1997 TooLs GmbH.
7 * All rights reserved.
8 * Original code by Paul Popelka (paulp@uts.amdahl.com) (see below).
9 *

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

84#endif
85
86MALLOC_DEFINE(M_MSDOSFSMNT, "MSDOSFS mount", "MSDOSFS mount structure");
87static MALLOC_DEFINE(M_MSDOSFSFAT, "MSDOSFS FAT", "MSDOSFS file allocation table");
88
89static int update_mp(struct mount *mp, struct msdosfs_args *argp);
90static int mountmsdosfs(struct vnode *devvp, struct mount *mp,
91 struct thread *td, struct msdosfs_args *argp);
92static int msdosfs_fhtovp(struct mount *, struct fid *, struct vnode **);
93static int msdosfs_mount(struct mount *, char *, caddr_t,
94 struct nameidata *, struct thread *);
95static int msdosfs_root(struct mount *, struct vnode **);
96static int msdosfs_statfs(struct mount *, struct statfs *,
97 struct thread *);
98static int msdosfs_sync(struct mount *, int, struct ucred *,
99 struct thread *);
100static int msdosfs_unmount(struct mount *, int, struct thread *);
101static int msdosfs_vptofh(struct vnode *, struct fid *);
92static vfs_fhtovp_t msdosfs_fhtovp;
93static vfs_mount_t msdosfs_mount;
94static vfs_root_t msdosfs_root;
95static vfs_statfs_t msdosfs_statfs;
96static vfs_sync_t msdosfs_sync;
97static vfs_unmount_t msdosfs_unmount;
98static vfs_vptofh_t msdosfs_vptofh;
102
103static int
104update_mp(mp, argp)
105 struct mount *mp;
106 struct msdosfs_args *argp;
107{
108 struct msdosfsmount *pmp = VFSTOMSDOSFS(mp);
109 int error;

--- 730 unchanged lines hidden ---
99
100static int
101update_mp(mp, argp)
102 struct mount *mp;
103 struct msdosfs_args *argp;
104{
105 struct msdosfsmount *pmp = VFSTOMSDOSFS(mp);
106 int error;

--- 730 unchanged lines hidden ---