]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
9pfs: remove obsolete comment in v9fs_getattr()
authorChristian Schoenebeck <qemu_oss@crudebyte.com>
Sun, 24 Nov 2024 15:06:40 +0000 (16:06 +0100)
committerMichael Tokarev <mjt@tls.msk.ru>
Tue, 3 Dec 2024 06:22:01 +0000 (09:22 +0300)
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 <qemu_oss@crudebyte.com>
Reviewed-by: Greg Kurz <groug@kaod.org>
Message-Id: <fb364d12045217a4c6ccd0dd6368103ddb80698b.1732465720.git.qemu_oss@crudebyte.com>
(cherry picked from commit 3bc4db44430f53387d17145bb52b330a830a03fe)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
hw/9pfs/9p.c

index 51ad5bfb112a9da2271a62dbe2ec81a9d78799bb..cfe90f63cbed094620b4470fe089bb47e0a36969 100644 (file)
@@ -1605,10 +1605,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;