STABLE14-namei-dont-randomly-full-salvage-20070514

FIXES 61300

trivial fix to clear forcep
(inode already does this)


(cherry picked from commit c78b4c61f70f6756a79440748ecacea2affec8ab)
This commit is contained in:
Rainer Toebbicke 2007-05-14 22:45:06 +00:00 committed by Derrick Brashear
parent f52d9908cf
commit 39eeb30750

View File

@ -1144,6 +1144,8 @@ ListViceInodes(char *devname, char *mountedOn, char *resultFile,
int ninodes; int ninodes;
struct afs_stat status; struct afs_stat status;
*forcep = 0; /* no need to salvage until further notice */
if (resultFile) { if (resultFile) {
fp = afs_fopen(resultFile, "w"); fp = afs_fopen(resultFile, "w");
if (!fp) { if (!fp) {