summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1995-09-13 16:42:03 +0000
committerMiles Bader <miles@gnu.org>1995-09-13 16:42:03 +0000
commit7dac7fa340fc09e2bc615ca97b498493efce7566 (patch)
tree41372f6e8d0222e579c3a2a66cbc114c59192919
parent3d8f9a09c2f944786b052055f89e0c50bb5d4519 (diff)
(diskfs_lookup): Require NPP set for RENAME too.
-rw-r--r--ext2fs/dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext2fs/dir.c b/ext2fs/dir.c
index 7dcd1786..6e6e4a57 100644
--- a/ext2fs/dir.c
+++ b/ext2fs/dir.c
@@ -107,7 +107,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)