Remove references to afs_assert.h
[openafs.git] / src / vol / test / nsubr.c
1 /*
2  * Copyright 2000, International Business Machines Corporation and others.
3  * All Rights Reserved.
4  * 
5  * This software has been released under the terms of the IBM Public
6  * License.  For details, see the LICENSE file in the top-level source
7  * directory or online at http://www.openafs.org/dl/license10.html
8  */
9
10 #include <afsconfig.h>
11 #include <afs/param.h>
12
13
14 #ifdef AFS_NAMEI_ENV
15 #include <stdio.h>
16 #include <stdlib.h>
17 #include <errno.h>
18 #include <fcntl.h>
19 #include <fcntl.h>
20 #include <sys/stat.h>
21 #include <lock.h>
22 #include <afs/afsutil.h>
23 #include "nfs.h"
24 #include <afs/afsint.h>
25 #include "ihandle.h"
26 #include "vnode.h"
27 #include "volume.h"
28 #include "viceinode.h"
29 #include "voldefs.h"
30 #include "partition.h"
31 #include <dirent.h>
32
33
34
35 IHandle_t *
36 GetLinkHandle(char *part, int volid)
37 {
38     int dev;
39     Inode ino;
40     IHandle_t *lh;
41
42     dev = volutil_GetPartitionID(part);
43     ino = namei_MakeSpecIno(volid, VI_LINKTABLE);
44
45     IH_INIT(lh, dev, volid, ino);
46     return lh;
47 }
48
49 void
50 DFlushVolume(void)
51 {
52 };
53
54 #endif /* AFS_NAMEI_ENV */