From: Christian Schoenebeck Date: Sun, 24 Nov 2024 15:06:40 +0000 (+0100) Subject: 9pfs: remove obsolete comment in v9fs_getattr() X-Git-Tag: v9.1.3~50 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4dbe8c865cb9b80a8eda9e1e77b815a45ada6edf;p=thirdparty%2Fqemu.git 9pfs: remove obsolete comment in v9fs_getattr() The comment claims that we'd only support basic Tgetattr fields. This is no longer true, so remove this comment. Fixes: e06a765efbe3 ("hw/9pfs: Add st_gen support in getattr reply") Signed-off-by: Christian Schoenebeck Reviewed-by: Greg Kurz Message-Id: (cherry picked from commit 3bc4db44430f53387d17145bb52b330a830a03fe) Signed-off-by: Michael Tokarev (Mjt: pick it for stable so the next commit applies cleanly) --- diff --git a/hw/9pfs/9p.c b/hw/9pfs/9p.c index 9a291d1b51d..851e36b9a10 100644 --- a/hw/9pfs/9p.c +++ b/hw/9pfs/9p.c @@ -1596,10 +1596,6 @@ static void coroutine_fn v9fs_getattr(void *opaque) retval = -ENOENT; goto out_nofid; } - /* - * Currently we only support BASIC fields in stat, so there is no - * need to look at request_mask. - */ retval = v9fs_co_lstat(pdu, &fidp->path, &stbuf); if (retval < 0) { goto out;