Update NEWS for 1.6.22
[pkg-k5-afs_openafs.git] / src / vol / test / nsubr.c
blob1b21fca5ae7a9279d54203fe0665c0fd676c529f
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 */
10 #include <afsconfig.h>
11 #include <afs/param.h>
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 #include <afs/afs_assert.h>
36 IHandle_t *
37 GetLinkHandle(char *part, int volid)
39 int dev;
40 Inode ino;
41 IHandle_t *lh;
43 dev = volutil_GetPartitionID(part);
44 ino = namei_MakeSpecIno(volid, VI_LINKTABLE);
46 IH_INIT(lh, dev, volid, ino);
47 return lh;
50 void
51 DFlushVolume(void)
55 #endif /* AFS_NAMEI_ENV */