aboutsummaryrefslogtreecommitdiff
path: root/libdiskfs
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2023-09-02 16:06:32 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2023-09-02 16:06:36 +0200
commit004164ff9965a9cb3452ca0cb34ae04ed6e1b6f6 (patch)
tree65dcdf2d2601bc5b8b348700a2018007125afa36 /libdiskfs
parent8b5b59c704e9edbb0784697ada1df9112fc3e18b (diff)
downloadhurd-004164ff9965a9cb3452ca0cb34ae04ed6e1b6f6.tar.gz
hurd-004164ff9965a9cb3452ca0cb34ae04ed6e1b6f6.tar.bz2
hurd-004164ff9965a9cb3452ca0cb34ae04ed6e1b6f6.zip
Revert "S_dir_lookup: Handle O_DIRECTORY"
This reverts commit 8b5b59c704e9edbb0784697ada1df9112fc3e18b. This actually breaks various posix behaviors.
Diffstat (limited to 'libdiskfs')
-rw-r--r--libdiskfs/dir-lookup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdiskfs/dir-lookup.c b/libdiskfs/dir-lookup.c
index 30e2a2e3..8df81cfa 100644
--- a/libdiskfs/dir-lookup.c
+++ b/libdiskfs/dir-lookup.c
@@ -51,7 +51,7 @@ diskfs_S_dir_lookup (struct protid *dircred,
int lastcomp = 0;
int newnode = 0;
struct dirstat *ds = 0;
- int mustbedir = (flags & O_DIRECTORY) != 0;
+ int mustbedir = 0;
mach_msg_type_name_t amt;
int type;
struct protid *newpi = 0;