[PATCH] vhost: do not reference a file that does not exist

Subsystems: the rest, virtio host (vhost)

STALE2558d

3 messages, 3 authors, 2019-08-12 · open the first message on its own page

[PATCH] vhost: do not reference a file that does not exist

From: <hidden>
Date: 2019-08-08 00:53:20

From: Enrico Granata <redacted>

lguest was removed from the mainline kernel in late 2017.

Signed-off-by: Enrico Granata <redacted>
---
 drivers/vhost/vhost.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/vhost/vhost.c b/drivers/vhost/vhost.c
index 0536f8526359..2c376cb66971 100644
--- a/drivers/vhost/vhost.c
+++ b/drivers/vhost/vhost.c
@@ -4,8 +4,8 @@
  *
  * Author: Michael S. Tsirkin <mst@redhat.com>
  *
- * Inspiration, some code, and most witty comments come from
- * Documentation/virtual/lguest/lguest.c, by Rusty Russell
+ * Inspiration, some code, and most witty comments come from lguest.c
+ * by Rusty Russell
  *
  * Generic code for virtio server in host kernel.
  */
-- 
2.22.0.770.g0f2c4a37fd-goog

Re: [PATCH] vhost: do not reference a file that does not exist

From: Christoph Hellwig <hch@infradead.org>
Date: 2019-08-10 08:15:43

On Wed, Aug 07, 2019 at 05:52:55PM -0700, egranata@chromium.org wrote:
From: Enrico Granata <redacted>

lguest was removed from the mainline kernel in late 2017.

Signed-off-by: Enrico Granata <redacted>
But this particular file even has an override in the script looking
for dead references, which together with the content of the overal
contents makes me thing the dangling reference is somewhat intentional.

Re: [PATCH] vhost: do not reference a file that does not exist

From: Enrico Granata <hidden>
Date: 2019-08-12 20:56:10

Fair enough, yeah.

I think what I found confusing was that the file had a precise
(directly actionable in a file browser, if you will) path. If it was
just listed as a filename, or a project name, it might have been more
obvious that one shouldn't expect to find it within the kernel tree
and just go look it up in your favorite search engine.

The right incantation to get your hands on that file is a web search,
not a local file navigation, and to my perception a full and seemingly
valid path pointed in the direction of doing the wrong thing.

It's not a huge deal, obviously, and it may be that I was the only one
confused by that. If so, feel free to disregard the patch.

Thanks,
- Enrico

Thanks,
- Enrico


On Sat, Aug 10, 2019 at 1:15 AM Christoph Hellwig [off-list ref] wrote:
On Wed, Aug 07, 2019 at 05:52:55PM -0700, egranata@chromium.org wrote:
quoted
From: Enrico Granata <redacted>

lguest was removed from the mainline kernel in late 2017.

Signed-off-by: Enrico Granata <redacted>
But this particular file even has an override in the script looking
for dead references, which together with the content of the overal
contents makes me thing the dangling reference is somewhat intentional.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help