9pfs: remove obsolete comment in v9fs_getattr()
authorChristian Schoenebeck <qemu_oss@crudebyte.com>
Sun, 24 Nov 2024 15:06:40 +0000 (16:06 +0100)
committerChristian Schoenebeck <qemu_oss@crudebyte.com>
Thu, 28 Nov 2024 17:54:00 +0000 (18:54 +0100)
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>

hw/9pfs/9p.c

index 9a291d1b51dece98fbc5774ae12e72f26f21b4d6..851e36b9a106dc218aec7535822e86a36eb4c1d3 100644 (file)
@@ -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;