cd9660_vfsops.c (101308) | cd9660_vfsops.c (101777) |
---|---|
1/*- 2 * Copyright (c) 1994 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley 6 * by Pace Willisson (pace@blitz.com). The Rock Ridge Extension 7 * Support code is derived from software contributed to Berkeley 8 * by Atsushi Murai (amurai@spec.co.jp). --- 22 unchanged lines hidden (view full) --- 31 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 32 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 36 * SUCH DAMAGE. 37 * 38 * @(#)cd9660_vfsops.c 8.18 (Berkeley) 5/22/95 | 1/*- 2 * Copyright (c) 1994 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley 6 * by Pace Willisson (pace@blitz.com). The Rock Ridge Extension 7 * Support code is derived from software contributed to Berkeley 8 * by Atsushi Murai (amurai@spec.co.jp). --- 22 unchanged lines hidden (view full) --- 31 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 32 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 36 * SUCH DAMAGE. 37 * 38 * @(#)cd9660_vfsops.c 8.18 (Berkeley) 5/22/95 |
39 * $FreeBSD: head/sys/fs/cd9660/cd9660_vfsops.c 101308 2002-08-04 10:29:36Z jeff $ | 39 * $FreeBSD: head/sys/fs/cd9660/cd9660_vfsops.c 101777 2002-08-13 10:05:50Z phk $ |
40 */ 41 42#include <sys/param.h> 43#include <sys/systm.h> 44#include <sys/namei.h> 45#include <sys/proc.h> 46#include <sys/kernel.h> 47#include <sys/vnode.h> --- 11 unchanged lines hidden (view full) --- 59#include <isofs/cd9660/iso.h> 60#include <isofs/cd9660/iso_rrip.h> 61#include <isofs/cd9660/cd9660_node.h> 62#include <isofs/cd9660/cd9660_mount.h> 63 64MALLOC_DEFINE(M_ISOFSMNT, "ISOFS mount", "ISOFS mount structure"); 65MALLOC_DEFINE(M_ISOFSNODE, "ISOFS node", "ISOFS vnode private part"); 66 | 40 */ 41 42#include <sys/param.h> 43#include <sys/systm.h> 44#include <sys/namei.h> 45#include <sys/proc.h> 46#include <sys/kernel.h> 47#include <sys/vnode.h> --- 11 unchanged lines hidden (view full) --- 59#include <isofs/cd9660/iso.h> 60#include <isofs/cd9660/iso_rrip.h> 61#include <isofs/cd9660/cd9660_node.h> 62#include <isofs/cd9660/cd9660_mount.h> 63 64MALLOC_DEFINE(M_ISOFSMNT, "ISOFS mount", "ISOFS mount structure"); 65MALLOC_DEFINE(M_ISOFSNODE, "ISOFS node", "ISOFS vnode private part"); 66 |
67static int cd9660_mount(struct mount *, 68 char *, caddr_t, struct nameidata *, struct thread *); 69static int cd9660_unmount(struct mount *, int, struct thread *); 70static int cd9660_root(struct mount *, struct vnode **); 71static int cd9660_statfs(struct mount *, struct statfs *, struct thread *); 72static int cd9660_vget(struct mount *, ino_t, int, struct vnode **); 73static int cd9660_fhtovp(struct mount *, struct fid *, struct vnode **); 74static int cd9660_vptofh(struct vnode *, struct fid *); | 67static vfs_mount_t cd9660_mount; 68static vfs_unmount_t cd9660_unmount; 69static vfs_root_t cd9660_root; 70static vfs_statfs_t cd9660_statfs; 71static vfs_vget_t cd9660_vget; 72static vfs_fhtovp_t cd9660_fhtovp; 73static vfs_vptofh_t cd9660_vptofh; |
75 76static struct vfsops cd9660_vfsops = { 77 cd9660_mount, 78 vfs_stdstart, 79 cd9660_unmount, 80 cd9660_root, 81 vfs_stdquotactl, 82 cd9660_statfs, --- 823 unchanged lines hidden --- | 74 75static struct vfsops cd9660_vfsops = { 76 cd9660_mount, 77 vfs_stdstart, 78 cd9660_unmount, 79 cd9660_root, 80 vfs_stdquotactl, 81 cd9660_statfs, --- 823 unchanged lines hidden --- |