summaryrefslogtreecommitdiffstats
path: root/sys/ufs
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2004-12-01 12:24:41 +0000
committerphk <phk@FreeBSD.org>2004-12-01 12:24:41 +0000
commit05b9cb2a46b4cd19b0e7335c469c484f6f83c3e6 (patch)
treeca2d1e5c33e28faaf6dbefb02adaebcec5f3ef3f /sys/ufs
parenta138ae34c46784871361a1c27053bdfa38f8c9f1 (diff)
downloadFreeBSD-src-05b9cb2a46b4cd19b0e7335c469c484f6f83c3e6.zip
FreeBSD-src-05b9cb2a46b4cd19b0e7335c469c484f6f83c3e6.tar.gz
Mechanically change prototypes for vnode operations to use the new typedefs.
Diffstat (limited to 'sys/ufs')
-rw-r--r--sys/ufs/ffs/ffs_vnops.c22
-rw-r--r--sys/ufs/ufs/ufs_vnops.c50
2 files changed, 36 insertions, 36 deletions
diff --git a/sys/ufs/ffs/ffs_vnops.c b/sys/ufs/ffs/ffs_vnops.c
index 3716bb0..f2722a2 100644
--- a/sys/ufs/ffs/ffs_vnops.c
+++ b/sys/ufs/ffs/ffs_vnops.c
@@ -101,20 +101,20 @@ __FBSDID("$FreeBSD$");
#ifdef DIRECTIO
extern int ffs_rawread(struct vnode *vp, struct uio *uio, int *workdone);
#endif
-static int ffs_fsync(struct vop_fsync_args *);
-static int ffs_getpages(struct vop_getpages_args *);
-static int ffs_read(struct vop_read_args *);
-static int ffs_write(struct vop_write_args *);
+static vop_fsync_t ffs_fsync;
+static vop_getpages_t ffs_getpages;
+static vop_read_t ffs_read;
+static vop_write_t ffs_write;
static int ffs_extread(struct vnode *vp, struct uio *uio, int ioflag);
static int ffs_extwrite(struct vnode *vp, struct uio *uio, int ioflag,
struct ucred *cred);
-static int ffsext_strategy(struct vop_strategy_args *);
-static int ffs_closeextattr(struct vop_closeextattr_args *);
-static int ffs_deleteextattr(struct vop_deleteextattr_args *);
-static int ffs_getextattr(struct vop_getextattr_args *);
-static int ffs_listextattr(struct vop_listextattr_args *);
-static int ffs_openextattr(struct vop_openextattr_args *);
-static int ffs_setextattr(struct vop_setextattr_args *);
+static vop_strategy_t ffsext_strategy;
+static vop_closeextattr_t ffs_closeextattr;
+static vop_deleteextattr_t ffs_deleteextattr;
+static vop_getextattr_t ffs_getextattr;
+static vop_listextattr_t ffs_listextattr;
+static vop_openextattr_t ffs_openextattr;
+static vop_setextattr_t ffs_setextattr;
/* Global vfs data structures for ufs. */
diff --git a/sys/ufs/ufs/ufs_vnops.c b/sys/ufs/ufs/ufs_vnops.c
index 0614629..166e848 100644
--- a/sys/ufs/ufs/ufs_vnops.c
+++ b/sys/ufs/ufs/ufs_vnops.c
@@ -84,38 +84,38 @@ __FBSDID("$FreeBSD$");
#include <ufs/ffs/ffs_extern.h>
-static int ufs_access(struct vop_access_args *);
-static int ufs_advlock(struct vop_advlock_args *);
+static vop_access_t ufs_access;
+static vop_advlock_t ufs_advlock;
static int ufs_chmod(struct vnode *, int, struct ucred *, struct thread *);
static int ufs_chown(struct vnode *, uid_t, gid_t, struct ucred *, struct thread *);
-static int ufs_close(struct vop_close_args *);
-static int ufs_create(struct vop_create_args *);
-static int ufs_getattr(struct vop_getattr_args *);
-static int ufs_link(struct vop_link_args *);
+static vop_close_t ufs_close;
+static vop_create_t ufs_create;
+static vop_getattr_t ufs_getattr;
+static vop_link_t ufs_link;
static int ufs_makeinode(int mode, struct vnode *, struct vnode **, struct componentname *);
-static int ufs_mkdir(struct vop_mkdir_args *);
-static int ufs_mknod(struct vop_mknod_args *);
-static int ufs_open(struct vop_open_args *);
-static int ufs_pathconf(struct vop_pathconf_args *);
-static int ufs_lock(struct vop_lock_args *);
-static int ufs_print(struct vop_print_args *);
-static int ufs_readlink(struct vop_readlink_args *);
-static int ufs_remove(struct vop_remove_args *);
-static int ufs_rename(struct vop_rename_args *);
-static int ufs_rmdir(struct vop_rmdir_args *);
-static int ufs_setattr(struct vop_setattr_args *);
-static int ufs_strategy(struct vop_strategy_args *);
-static int ufs_symlink(struct vop_symlink_args *);
-static int ufs_whiteout(struct vop_whiteout_args *);
-static int ufsfifo_close(struct vop_close_args *);
-static int ufsfifo_kqfilter(struct vop_kqfilter_args *);
-static int ufsfifo_read(struct vop_read_args *);
-static int ufsfifo_write(struct vop_write_args *);
+static vop_mkdir_t ufs_mkdir;
+static vop_mknod_t ufs_mknod;
+static vop_open_t ufs_open;
+static vop_pathconf_t ufs_pathconf;
+static vop_lock_t ufs_lock;
+static vop_print_t ufs_print;
+static vop_readlink_t ufs_readlink;
+static vop_remove_t ufs_remove;
+static vop_rename_t ufs_rename;
+static vop_rmdir_t ufs_rmdir;
+static vop_setattr_t ufs_setattr;
+static vop_strategy_t ufs_strategy;
+static vop_symlink_t ufs_symlink;
+static vop_whiteout_t ufs_whiteout;
+static vop_close_t ufsfifo_close;
+static vop_kqfilter_t ufsfifo_kqfilter;
+static vop_read_t ufsfifo_read;
+static vop_write_t ufsfifo_write;
static int filt_ufsread(struct knote *kn, long hint);
static int filt_ufswrite(struct knote *kn, long hint);
static int filt_ufsvnode(struct knote *kn, long hint);
static void filt_ufsdetach(struct knote *kn);
-static int ufs_kqfilter(struct vop_kqfilter_args *ap);
+static vop_kqfilter_t ufs_kqfilter;
/*
* A virgin directory (no blushing please).
OpenPOWER on IntegriCloud