summaryrefslogtreecommitdiff
path: root/ext2fs
diff options
context:
space:
mode:
Diffstat (limited to 'ext2fs')
-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)