diff options
author | Constantine Sapuntzakis <csapuntz@cvs.openbsd.org> | 1998-08-21 22:40:03 +0000 |
---|---|---|
committer | Constantine Sapuntzakis <csapuntz@cvs.openbsd.org> | 1998-08-21 22:40:03 +0000 |
commit | ff466cfbb5dc97f654df83d4b5414126405d7611 (patch) | |
tree | 703bb23c116a0d3f799332f2d63b759239748351 /sys/msdosfs | |
parent | d1dacf2ce898c2d0a008873af1790cf78ce92665 (diff) |
Make tabbing better.
Diffstat (limited to 'sys/msdosfs')
-rw-r--r-- | sys/msdosfs/msdosfs_denode.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/msdosfs/msdosfs_denode.c b/sys/msdosfs/msdosfs_denode.c index e518105b4b9..f644dfa37ee 100644 --- a/sys/msdosfs/msdosfs_denode.c +++ b/sys/msdosfs/msdosfs_denode.c @@ -1,4 +1,4 @@ -/* $OpenBSD: msdosfs_denode.c,v 1.12 1998/08/21 22:36:11 csapuntz Exp $ */ +/* $OpenBSD: msdosfs_denode.c,v 1.13 1998/08/21 22:40:02 csapuntz Exp $ */ /* $NetBSD: msdosfs_denode.c,v 1.23 1997/10/17 11:23:58 ws Exp $ */ /*- @@ -121,8 +121,8 @@ msdosfs_hashins(dep) struct denode **depp, *deq; depp = &dehashtbl[DEHASH(dep->de_dev, dep->de_dirclust, - dep->de_diroffset)]; - + dep->de_diroffset)]; + for (deq = *depp; deq; deq = deq->de_next) { if (dep->de_dirclust == deq->de_dirclust && dep->de_diroffset == deq->de_diroffset && @@ -147,7 +147,7 @@ msdosfs_hashrem(dep) struct denode *deq; if (dep->de_prev == NULL) - return; + return; if ((deq = dep->de_next) != NULL) deq->de_prev = dep->de_prev; @@ -251,7 +251,7 @@ retry: if (error) { vput (nvp); - + if (error == EEXIST) goto retry; |