1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
From 626ff916ca63334e6c170f059ea47f9cfea19661 Mon Sep 17 00:00:00 2001
From: Justus Winter <4winter@informatik.uni-hamburg.de>
Date: Tue, 2 Sep 2014 22:19:54 +0200
Subject: [PATCH 1/8] libdiskfs: fix /servers/exec lookup
* libdiskfs/boot-start.c (diskfs_start_bootstrap): Pass retry_name to
dir_lookup, which is later checked to be the empty string.
---
libdiskfs/boot-start.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libdiskfs/boot-start.c b/libdiskfs/boot-start.c
index 4cc7bb8..a590975 100644
--- a/libdiskfs/boot-start.c
+++ b/libdiskfs/boot-start.c
@@ -178,7 +178,7 @@ diskfs_start_bootstrap ()
/* Attempt to set the active translator for the exec server so that
filesystems other than the bootstrap can find it. */
err = dir_lookup (root_pt, _SERVERS_EXEC, O_NOTRANS, 0,
- &retry, pathbuf, &execnode);
+ &retry, retry_name, &execnode);
if (err)
{
error (0, err, "cannot set translator on %s", _SERVERS_EXEC);
--
2.1.0
|