aboutsummaryrefslogtreecommitdiff
path: root/hurd/hurdlookup.c
diff options
context:
space:
mode:
Diffstat (limited to 'hurd/hurdlookup.c')
-rw-r--r--hurd/hurdlookup.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/hurd/hurdlookup.c b/hurd/hurdlookup.c
index bfee61444e..98aca55118 100644
--- a/hurd/hurdlookup.c
+++ b/hurd/hurdlookup.c
@@ -154,11 +154,7 @@ __hurd_file_name_lookup_retry (error_t (*use_init_port)
{
/* We got a successful translation. Now apply any open-time
action flags we were passed. */
- if (flags & O_EXLOCK)
- ; /* XXX */
- if (!err && (flags & O_SHLOCK))
- ; /* XXX */
- if (!err && (flags & O_TRUNC))
+ if (flags & O_TRUNC)
err = __file_set_size (*result, 0);
if (err)