summaryrefslogtreecommitdiffstats
path: root/sys/fs/unionfs
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2004-12-01 19:15:00 +0000
committerphk <phk@FreeBSD.org>2004-12-01 19:15:00 +0000
commitd0b255209880cf4efbcefdc83e20a3107f97e18b (patch)
treefd5413915b9d353813c615f8fb24e54404c765af /sys/fs/unionfs
parentab549174e2886f32a9bac8805d33d32fd23bee57 (diff)
downloadFreeBSD-src-d0b255209880cf4efbcefdc83e20a3107f97e18b.zip
FreeBSD-src-d0b255209880cf4efbcefdc83e20a3107f97e18b.tar.gz
Correctly prototype union_write with vop_write_t, not vop_read_t.
Diffstat (limited to 'sys/fs/unionfs')
-rw-r--r--sys/fs/unionfs/union_vnops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/fs/unionfs/union_vnops.c b/sys/fs/unionfs/union_vnops.c
index 27ca0ed..0338f21 100644
--- a/sys/fs/unionfs/union_vnops.c
+++ b/sys/fs/unionfs/union_vnops.c
@@ -113,7 +113,7 @@ static vop_setextattr_t union_setextattr;
static vop_strategy_t union_strategy;
static vop_symlink_t union_symlink;
static vop_whiteout_t union_whiteout;
-static vop_read_t union_write;
+static vop_write_t union_write;
static __inline
struct vnode *
@@ -1076,7 +1076,7 @@ union_read(ap)
static int
union_write(ap)
- struct vop_read_args /* {
+ struct vop_write_args /* {
struct vnode *a_vp;
struct uio *a_uio;
int a_ioflag;
OpenPOWER on IntegriCloud