union_vfsops.c (5a5fccc8e792522375133484f4cebc9f7da2c7d3) | union_vfsops.c (c24fda81c9fd87df7e4fe3a567cc0292078bc7bf) |
---|---|
1/* 2 * Copyright (c) 1994, 1995 The Regents of the University of California. 3 * Copyright (c) 1994, 1995 Jan-Simon Pendry. 4 * All rights reserved. 5 * 6 * This code is derived from software donated to Berkeley by 7 * Jan-Simon Pendry. 8 * --- 482 unchanged lines hidden (view full) --- 491 bcopy(mp->mnt_stat.f_mntonname, sbp->f_mntonname, MNAMELEN); 492 bcopy(mp->mnt_stat.f_mntfromname, sbp->f_mntfromname, MNAMELEN); 493 } 494 return (0); 495} 496 497static struct vfsops union_vfsops = { 498 union_mount, | 1/* 2 * Copyright (c) 1994, 1995 The Regents of the University of California. 3 * Copyright (c) 1994, 1995 Jan-Simon Pendry. 4 * All rights reserved. 5 * 6 * This code is derived from software donated to Berkeley by 7 * Jan-Simon Pendry. 8 * --- 482 unchanged lines hidden (view full) --- 491 bcopy(mp->mnt_stat.f_mntonname, sbp->f_mntonname, MNAMELEN); 492 bcopy(mp->mnt_stat.f_mntfromname, sbp->f_mntfromname, MNAMELEN); 493 } 494 return (0); 495} 496 497static struct vfsops union_vfsops = { 498 union_mount, |
499 vfs_stdstart, | 499 vfs_stdstart, /* underlying start already done */ |
500 union_unmount, 501 union_root, 502 vfs_stdquotactl, 503 union_statfs, 504 vfs_stdsync, /* XXX assumes no cached data on union level */ 505 vfs_stdvget, 506 vfs_stdfhtovp, | 500 union_unmount, 501 union_root, 502 vfs_stdquotactl, 503 union_statfs, 504 vfs_stdsync, /* XXX assumes no cached data on union level */ 505 vfs_stdvget, 506 vfs_stdfhtovp, |
507 vfs_stdcheckexp, |
|
507 vfs_stdvptofh, 508 union_init, 509}; 510 511VFS_SET(union_vfsops, union, VFCF_LOOPBACK); | 508 vfs_stdvptofh, 509 union_init, 510}; 511 512VFS_SET(union_vfsops, union, VFCF_LOOPBACK); |