diff options
author | Miles Bader <miles@gnu.org> | 1995-09-13 16:42:03 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1995-09-13 16:42:03 +0000 |
commit | 7dac7fa340fc09e2bc615ca97b498493efce7566 (patch) | |
tree | 41372f6e8d0222e579c3a2a66cbc114c59192919 /ext2fs | |
parent | 3d8f9a09c2f944786b052055f89e0c50bb5d4519 (diff) |
(diskfs_lookup): Require NPP set for RENAME too.
Diffstat (limited to 'ext2fs')
-rw-r--r-- | ext2fs/dir.c | 2 |
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) |