git://git.openafs.org
/
openafs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
namei-close-directory-behind-us-always-20020827
[openafs.git]
/
src
/
vol
/
namei_ops.c
diff --git
a/src/vol/namei_ops.c
b/src/vol/namei_ops.c
index
e1cb1f6
..
df6371e
100644
(file)
--- a/
src/vol/namei_ops.c
+++ b/
src/vol/namei_ops.c
@@
-317,8
+317,8
@@
delTree(char *root, char *tree, int *errp)
*/
*cp = 0;
}
- if (!errno)
- closedir(ds);
+ /* if (!errno) -- closedir not implicit if we got an error */
+ closedir(ds);
}
/* finally axe the current dir */