Don't return from removede prematurely.
Fixes PR# 2185 and 2068
This commit is contained in:
parent
6da2ce259c
commit
32761b2385
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: msdosfs_lookup.c,v 1.25 1996/02/09 19:13:47 christos Exp $ */
|
||||
/* $NetBSD: msdosfs_lookup.c,v 1.26 1996/03/07 13:30:46 ws Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (C) 1994, 1995 Wolfgang Solfrank.
|
||||
|
@ -916,7 +916,7 @@ removede(pdep, dep)
|
|||
dep->de_refcnt--;
|
||||
do {
|
||||
error = pcbmap(pdep, de_cluster(pmp, offset), &bn, 0, &blsize);
|
||||
if (error);
|
||||
if (error)
|
||||
return error;
|
||||
error = bread(pmp->pm_devvp, bn, blsize, NOCRED, &bp);
|
||||
if (error) {
|
||||
|
|
Loading…
Reference in New Issue