[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL for-9.2 5/7] 9pfs: remove obsolete comment in v9fs_getattr()
From: |
Christian Schoenebeck |
Subject: |
[PULL for-9.2 5/7] 9pfs: remove obsolete comment in v9fs_getattr() |
Date: |
Thu, 28 Nov 2024 19:53:58 +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 | 4 ----
1 file changed, 4 deletions(-)
diff --git a/hw/9pfs/9p.c b/hw/9pfs/9p.c
index 9a291d1b51..851e36b9a1 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;
--
2.30.2
- [PULL for-9.2 0/7] 9p queue 2024-11-28, Christian Schoenebeck, 2024/11/28
- [PULL for-9.2 4/7] tests/9p: add missing Rgetattr response name, Christian Schoenebeck, 2024/11/28
- [PULL for-9.2 6/7] 9pfs: fix 'Tgetattr' after unlink, Christian Schoenebeck, 2024/11/28
- [PULL for-9.2 7/7] tests/9p: also check 'Tgetattr' in 'use-after-unlink' test, Christian Schoenebeck, 2024/11/28
- [PULL for-9.2 2/7] tests/9p: add 'use-after-unlink' test, Christian Schoenebeck, 2024/11/28
- [PULL for-9.2 3/7] tests/9p: fix Rreaddir response name, Christian Schoenebeck, 2024/11/28
- [PULL for-9.2 1/7] 9pfs: cleanup V9fsFidState, Christian Schoenebeck, 2024/11/28
- [PULL for-9.2 5/7] 9pfs: remove obsolete comment in v9fs_getattr(),
Christian Schoenebeck <=
- Re: [PULL for-9.2 0/7] 9p queue 2024-11-28, Peter Maydell, 2024/11/29