mirror of
https://git.openafs.org/openafs.git
synced 2025-01-31 13:38:01 +00:00
vol: Make some functions static
Make all of the functions in partition.c that are only used in that file static. Change-Id: I12e0980578b79459f50b6f4a46d2c423847e18a9 Reviewed-on: http://gerrit.openafs.org/7586 Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com> Tested-by: BuildBot <buildbot@rampaginggeek.com> Reviewed-by: Derrick Brashear <shadow@dementix.org>
This commit is contained in:
parent
c7ff0d28bf
commit
7034b980f7
@ -124,6 +124,10 @@
|
||||
#include <jfs/filsys.h>
|
||||
#endif
|
||||
|
||||
#ifdef AFS_NT40_ENV
|
||||
extern int VValidVPTEntry(struct vptab *vptp);
|
||||
#endif
|
||||
|
||||
int aixlow_water = 8; /* default 8% */
|
||||
struct DiskPartition64 *DiskPartitionList;
|
||||
|
||||
@ -268,7 +272,7 @@ VInitPartition(char *path, char *devname, Device dev)
|
||||
*
|
||||
* Use partition name as devname.
|
||||
*/
|
||||
int
|
||||
static int
|
||||
VCheckPartition(char *part, char *devname, int logging)
|
||||
{
|
||||
struct afs_stat_st status;
|
||||
@ -420,7 +424,7 @@ VIsNeverAttach(char *part)
|
||||
* used to attach /vicepX directories which aren't on dedicated
|
||||
* partitions, in the NAMEI fileserver.
|
||||
*/
|
||||
void
|
||||
static void
|
||||
VAttachPartitions2(void)
|
||||
{
|
||||
#ifdef AFS_NAMEI_ENV
|
||||
@ -709,7 +713,7 @@ VAttachPartitions(void)
|
||||
* 0 invalid entry
|
||||
*/
|
||||
|
||||
int
|
||||
static int
|
||||
VValidVPTEntry(struct vptab *vpe)
|
||||
{
|
||||
int len = strlen(vpe->vp_name);
|
||||
@ -748,7 +752,7 @@ VValidVPTEntry(struct vptab *vpe)
|
||||
return 1;
|
||||
}
|
||||
|
||||
int
|
||||
static int
|
||||
VCheckPartition(char *partName)
|
||||
{
|
||||
char volRoot[4];
|
||||
|
@ -163,7 +163,6 @@ struct DiskPartitionStats64 {
|
||||
|
||||
#ifdef AFS_NT40_ENV
|
||||
#include <WINNT/vptab.h>
|
||||
extern int VValidVPTEntry(struct vptab *vptp);
|
||||
#endif
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user