diff options
| author | Michael I. Bushnell <mib@gnu.org> | 1996-03-20 21:13:17 +0000 |
|---|---|---|
| committer | Michael I. Bushnell <mib@gnu.org> | 1996-03-20 21:13:17 +0000 |
| commit | 4591952861c94f2ae928ac560753b14283aac365 (patch) | |
| tree | d50bf70e61cb92fc8124fc8ac31bab5a708e190d | |
| parent | a14a84d7bfba8c138367a433cc6f562895ce5b54 (diff) | |
(diskfs_lookup_hard): Don't do final permission checking here.
| -rw-r--r-- | ufs/dir.c | 10 |
1 files changed, 0 insertions, 10 deletions
@@ -238,16 +238,6 @@ diskfs_lookup_hard (struct node *dp, char *name, enum lookup_type type, assert (0); } - /* 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; - } - if ((type == CREATE || type == RENAME) && !inum && ds && ds->stat == LOOKING) { /* We didn't find any room, so mark ds to extend the dir */ |
