summaryrefslogtreecommitdiff
path: root/libdiskfs/lookup.c
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1996-03-20 21:17:34 +0000
committerMichael I. Bushnell <mib@gnu.org>1996-03-20 21:17:34 +0000
commit5186ed22ef34cfdd30a67d06a42db6c89ca7a916 (patch)
tree164b6efd07a5d3fe04e550d7de325cea01f1b515 /libdiskfs/lookup.c
parent524900eee051213667c8b3feb5e639c25b633b2a (diff)
*** empty log message ***
Diffstat (limited to 'libdiskfs/lookup.c')
-rw-r--r--libdiskfs/lookup.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/libdiskfs/lookup.c b/libdiskfs/lookup.c
index 5d1c6b19..4e903f88 100644
--- a/libdiskfs/lookup.c
+++ b/libdiskfs/lookup.c
@@ -118,13 +118,3 @@ diskfs_lookup (struct node *dp,
return err;
}
- /* If we will be modifying the directory, make sure it's allowed. */
- if (type == RENAME
- || (type == REMOVE && inum)
- || (type == CREATE && !inum))
- {
- err = diskfs_checkdirmod (dp, np, cred);
- if (err)
- goto out;
- }
-