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 | 639d32ce79bfb66727ccefd136cfb5f3486d79ec (patch) | |
tree | 9e8aaf5ced0c341b82ee3d828f3cc869bb97977b | |
parent | b6d7707a397cec1abccdf558ba180112cd04a149 (diff) |
(diskfs_lookup): Require NPP set for RENAME too.
-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) |