diff options
author | Michael I. Bushnell <mib@gnu.org> | 1996-04-02 19:40:11 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1996-04-02 19:40:11 +0000 |
commit | 9229c169d95dd0c2d6ed594b056225f0d939e242 (patch) | |
tree | 4e5e3d05218c5799298410847dd502ca30025539 | |
parent | d6257a5e444cab85bbb2e62106fb45708358bba0 (diff) |
(diskfs_lookup): And correctly, too.
-rw-r--r-- | libdiskfs/lookup.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libdiskfs/lookup.c b/libdiskfs/lookup.c index 03c140be..806f5a2c 100644 --- a/libdiskfs/lookup.c +++ b/libdiskfs/lookup.c @@ -115,7 +115,8 @@ diskfs_lookup (struct node *dp, || (type == REMOVE && err != ENOENT)) { err2 = diskfs_checkdirmod (dp, *np, cred); - return err2; + if (err2) + return err2; } if ((type == LOOKUP || type == CREATE) && !err && np) |