Searched refs:volpath (Results 1 – 1 of 1) sorted by relevance
118 test_volume(const char *volpath) in test_volume() argument124 if ((fp = fopen(volpath, "r")) == NULL) in test_volume()125 err(1, "failed to open %s", volpath); in test_volume()143 char *dup, *p, *volpath, x[HAMMER_MAX_VOLUMES]; in __fsvtyp_hammer() local153 volpath = NULL; in __fsvtyp_hammer()156 volpath = p; in __fsvtyp_hammer()159 if ((volno = test_volume(volpath)) == -1) in __fsvtyp_hammer()166 if (!volpath) in __fsvtyp_hammer()168 if ((fp = fopen(volpath, "r")) == NULL) in __fsvtyp_hammer()169 err(1, "failed to open %s", volpath); in __fsvtyp_hammer()