Deleted Added
full compact
ufs.c (39665) ufs.c (39672)
1/* $NetBSD: ufs.c,v 1.20 1998/03/01 07:15:39 ross Exp $ */
2
3/*-
4 * Copyright (c) 1993
5 * The Regents of the University of California. All rights reserved.
6 *
7 * This code is derived from software contributed to Berkeley by
8 * The Mach Operating System project at Carnegie-Mellon University.

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

69#include <sys/param.h>
70#include <sys/time.h>
71#include <ufs/ufs/dinode.h>
72#include <ufs/ufs/dir.h>
73#include <ufs/ffs/fs.h>
74#include "stand.h"
75#include "string.h"
76
1/* $NetBSD: ufs.c,v 1.20 1998/03/01 07:15:39 ross Exp $ */
2
3/*-
4 * Copyright (c) 1993
5 * The Regents of the University of California. All rights reserved.
6 *
7 * This code is derived from software contributed to Berkeley by
8 * The Mach Operating System project at Carnegie-Mellon University.

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

69#include <sys/param.h>
70#include <sys/time.h>
71#include <ufs/ufs/dinode.h>
72#include <ufs/ufs/dir.h>
73#include <ufs/ffs/fs.h>
74#include "stand.h"
75#include "string.h"
76
77#ifdef __alpha__
78#define COMPAT_UFS /* DUX has old format file systems */
79#endif
80
77static int ufs_open(const char *path, struct open_file *f);
78static int ufs_close(struct open_file *f);
79static int ufs_read(struct open_file *f, void *buf, size_t size, size_t *resid);
80static off_t ufs_seek(struct open_file *f, off_t offset, int where);
81static int ufs_stat(struct open_file *f, struct stat *sb);
82
83struct fs_ops ufs_fsops = {
84 "ufs", ufs_open, ufs_close, ufs_read, null_write, ufs_seek, ufs_stat

--- 629 unchanged lines hidden ---
81static int ufs_open(const char *path, struct open_file *f);
82static int ufs_close(struct open_file *f);
83static int ufs_read(struct open_file *f, void *buf, size_t size, size_t *resid);
84static off_t ufs_seek(struct open_file *f, off_t offset, int where);
85static int ufs_stat(struct open_file *f, struct stat *sb);
86
87struct fs_ops ufs_fsops = {
88 "ufs", ufs_open, ufs_close, ufs_read, null_write, ufs_seek, ufs_stat

--- 629 unchanged lines hidden ---