git://git.openafs.org
/
openafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
141aca8
)
vol: use OS_UNLINK instead of unlink
author
Jeffrey Altman
<jaltman@your-file-system.com>
Thu, 20 Jan 2011 06:59:46 +0000 (
01:59
-0500)
committer
Derrick Brashear
<shadow@dementia.org>
Sat, 22 Jan 2011 20:43:34 +0000 (12:43 -0800)
Use OS_UNLINK in order to ensure that platform specific
unlink functions are called. OS_UNLINK is unlink on Unix.
Change-Id: Idcfc18345abe5532e9ebe97fc757d6f435c2af52
Reviewed-on: http://gerrit.openafs.org/3704
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
src/vol/vol-salvage.c
patch
|
blob
|
history
diff --git
a/src/vol/vol-salvage.c
b/src/vol/vol-salvage.c
index
84e2e02
..
14193a2
100644
(file)
--- a/
src/vol/vol-salvage.c
+++ b/
src/vol/vol-salvage.c
@@
-835,7
+835,7
@@
SalvageFileSys1(struct DiskPartition64 *partP, VolumeId singleVolumeNumber)
strcpy(npath, salvinfo->fileSysPath);
strcat(npath, OS_DIRSEP);
strcat(npath, dp->d_name);
- unlink(npath);
+ OS_UNLINK(npath);
}
}
closedir(dirp);