diff options
-rw-r--r-- | libdiskfs/lookup.c | 10 |
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; - } - |