diff options
author | Michael I. Bushnell <mib@gnu.org> | 1995-09-13 16:38:40 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1995-09-13 16:38:40 +0000 |
commit | 451f650d2cce4c75f9e22834ed4664dea1f198bf (patch) | |
tree | f99561351963a80a18e73fa42b93740cf69972ae /ufs/dir.c | |
parent | 04c07411536d09ca5e5f5eb243e918f02db0b71b (diff) |
(diskfs_lookup): Require NPP set for RENAME too.
Diffstat (limited to 'ufs/dir.c')
-rw-r--r-- | ufs/dir.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -100,7 +100,7 @@ diskfs_lookup (struct node *dp, char *name, enum lookup_type type, int blockaddr; int idx; - if (type == REMOVE) + if ((type == REMOVE) || (type == RENAME)) assert (npp); if (npp) |