From 7dac7fa340fc09e2bc615ca97b498493efce7566 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Wed, 13 Sep 1995 16:42:03 +0000 Subject: (diskfs_lookup): Require NPP set for RENAME too. --- ext2fs/dir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3