From 152e9152ff8bef4efac822b5a43b33ba50e8eed5 Mon Sep 17 00:00:00 2001 From: Andrew Deason Date: Thu, 30 Jul 2009 13:43:27 -0400 Subject: [PATCH] Fix UKERNEL afs_mount arguments Change 73 (commit dc6299f5) changed the order of arguments for the UKERNEL implementation of afs_mount, causing uafs_mount to segfault whenever called. This changes them back to what they were before. Reviewed-on: http://gerrit.openafs.org/256 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear --- src/afs/UKERNEL/osi_vfsops.c | 2 +- src/afs/afs_prototypes.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/afs/UKERNEL/osi_vfsops.c b/src/afs/UKERNEL/osi_vfsops.c index 8910dbebc..16d7d507f 100644 --- a/src/afs/UKERNEL/osi_vfsops.c +++ b/src/afs/UKERNEL/osi_vfsops.c @@ -36,7 +36,7 @@ int afs_rootCellIndex = 0; #endif int -afs_mount(struct vfs *path, char *data, struct vfs *afsp) +afs_mount(struct vfs *afsp, char *path, void *data) { AFS_STATCNT(afs_mount); diff --git a/src/afs/afs_prototypes.h b/src/afs/afs_prototypes.h index 3559de579..7190d7207 100644 --- a/src/afs/afs_prototypes.h +++ b/src/afs/afs_prototypes.h @@ -750,7 +750,7 @@ extern void vcache2fakeinode(struct vcache *rootvp, struct vcache *mpvp); #endif #ifdef UKERNEL -extern int afs_mount(struct vfs *path, char *data, struct vfs *afsp); +extern int afs_mount(struct vfs *afsp, char *path, void *data); extern int afs_root(OSI_VFS_DECL(afsp), struct vnode **avpp); extern int afs_unmount(struct vfs *afsp); #endif -- 2.39.5