ext2_vnops.c (92462) | ext2_vnops.c (92728) |
---|---|
1/* 2 * modified for EXT2FS support in Lites 1.1 3 * 4 * Aug 1995, Godmar Back (gback@cs.utah.edu) 5 * University of Utah, Department of Computer Science 6 */ 7/* 8 * Copyright (c) 1982, 1986, 1989, 1993 --- 29 unchanged lines hidden (view full) --- 38 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 39 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 40 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 41 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 42 * SUCH DAMAGE. 43 * 44 * @(#)ufs_vnops.c 8.27 (Berkeley) 5/27/95 45 * @(#)ext2_vnops.c 8.7 (Berkeley) 2/3/94 | 1/* 2 * modified for EXT2FS support in Lites 1.1 3 * 4 * Aug 1995, Godmar Back (gback@cs.utah.edu) 5 * University of Utah, Department of Computer Science 6 */ 7/* 8 * Copyright (c) 1982, 1986, 1989, 1993 --- 29 unchanged lines hidden (view full) --- 38 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 39 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 40 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 41 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 42 * SUCH DAMAGE. 43 * 44 * @(#)ufs_vnops.c 8.27 (Berkeley) 5/27/95 45 * @(#)ext2_vnops.c 8.7 (Berkeley) 2/3/94 |
46 * $FreeBSD: head/sys/gnu/fs/ext2fs/ext2_vnops.c 92462 2002-03-17 01:25:47Z mckusick $ | 46 * $FreeBSD: head/sys/gnu/fs/ext2fs/ext2_vnops.c 92728 2002-03-19 22:40:48Z alfred $ |
47 */ 48 49#include "opt_quota.h" 50#include "opt_suiddir.h" 51 52#include <sys/param.h> 53#include <sys/systm.h> 54#include <sys/resourcevar.h> --- 19 unchanged lines hidden (view full) --- 74#include <ufs/ufs/ufsmount.h> 75#include <ufs/ufs/ufs_extern.h> 76 77#include <gnu/ext2fs/ext2_fs_sb.h> 78#include <gnu/ext2fs/fs.h> 79#include <gnu/ext2fs/ext2_extern.h> 80#include <gnu/ext2fs/ext2_fs.h> 81 | 47 */ 48 49#include "opt_quota.h" 50#include "opt_suiddir.h" 51 52#include <sys/param.h> 53#include <sys/systm.h> 54#include <sys/resourcevar.h> --- 19 unchanged lines hidden (view full) --- 74#include <ufs/ufs/ufsmount.h> 75#include <ufs/ufs/ufs_extern.h> 76 77#include <gnu/ext2fs/ext2_fs_sb.h> 78#include <gnu/ext2fs/fs.h> 79#include <gnu/ext2fs/ext2_extern.h> 80#include <gnu/ext2fs/ext2_fs.h> 81 |
82static int ext2_makeinode __P((int mode, struct vnode *, struct vnode **, struct componentname *)); | 82static int ext2_makeinode(int mode, struct vnode *, struct vnode **, struct componentname *); |
83 | 83 |
84static int ext2_fsync __P((struct vop_fsync_args *)); 85static int ext2_read __P((struct vop_read_args *)); 86static int ext2_write __P((struct vop_write_args *)); 87static int ext2_remove __P((struct vop_remove_args *)); 88static int ext2_link __P((struct vop_link_args *)); 89static int ext2_rename __P((struct vop_rename_args *)); 90static int ext2_mkdir __P((struct vop_mkdir_args *)); 91static int ext2_rmdir __P((struct vop_rmdir_args *)); 92static int ext2_create __P((struct vop_create_args *)); 93static int ext2_mknod __P((struct vop_mknod_args *)); 94static int ext2_symlink __P((struct vop_symlink_args *)); | 84static int ext2_fsync(struct vop_fsync_args *); 85static int ext2_read(struct vop_read_args *); 86static int ext2_write(struct vop_write_args *); 87static int ext2_remove(struct vop_remove_args *); 88static int ext2_link(struct vop_link_args *); 89static int ext2_rename(struct vop_rename_args *); 90static int ext2_mkdir(struct vop_mkdir_args *); 91static int ext2_rmdir(struct vop_rmdir_args *); 92static int ext2_create(struct vop_create_args *); 93static int ext2_mknod(struct vop_mknod_args *); 94static int ext2_symlink(struct vop_symlink_args *); |
95 96/* Global vfs data structures for ufs. */ 97vop_t **ext2_vnodeop_p; 98static struct vnodeopv_entry_desc ext2_vnodeop_entries[] = { 99 { &vop_default_desc, (vop_t *) ufs_vnoperate }, 100 { &vop_cachedlookup_desc, (vop_t *) ext2_lookup }, 101 { &vop_fsync_desc, (vop_t *) ext2_fsync }, 102 { &vop_inactive_desc, (vop_t *) ext2_inactive }, --- 1082 unchanged lines hidden --- | 95 96/* Global vfs data structures for ufs. */ 97vop_t **ext2_vnodeop_p; 98static struct vnodeopv_entry_desc ext2_vnodeop_entries[] = { 99 { &vop_default_desc, (vop_t *) ufs_vnoperate }, 100 { &vop_cachedlookup_desc, (vop_t *) ext2_lookup }, 101 { &vop_fsync_desc, (vop_t *) ext2_fsync }, 102 { &vop_inactive_desc, (vop_t *) ext2_inactive }, --- 1082 unchanged lines hidden --- |