* [PATCH v3 0/2] xfs: remove duplicated lines
@ 2026-11-30 14:00 Zizhi Wo
2026-11-30 14:00 ` [PATCH v3 1/2] xfs: remove duplicated xfs_attrlist size check Zizhi Wo
2026-11-30 14:00 ` [PATCH v3 2/2] xfs: remove duplicated xfs_rtginode_irele declaration Zizhi Wo
0 siblings, 2 replies; 5+ messages in thread
From: Zizhi Wo @ 2026-11-30 14:00 UTC (permalink / raw)
To: cem, dgc, djwong, hch, linux-xfs
Cc: linux-kernel, yangerkun, chengzhihao1, wozizhi
From: Zizhi Wo <wozizhi@huawei.com>
This series removes two duplicated lines that were added by mistake:
- fs/xfs/libxfs/xfs_ondisk.h checks the size of struct xfs_attrlist
twice.
- fs/xfs/libxfs/xfs_rtgroup.h declares xfs_rtginode_irele() twice.
No functional changes.
Changes in v3:
- Split the changes into two self-contained patches as suggested by Christoph.
- Drop the Fixes: tags that were added in v2.
v2:
https://lore.kernel.org/all/20261126135947.2820748-1-wozizhi@huaweicloud.com/
v1:
https://lore.kernel.org/all/20261126122229.2281679-1-wozizhi@huaweicloud.com/
Zizhi Wo (2):
xfs: remove duplicated xfs_attrlist size check
xfs: remove duplicated xfs_rtginode_irele declaration
fs/xfs/libxfs/xfs_ondisk.h | 1 -
fs/xfs/libxfs/xfs_rtgroup.h | 2 --
2 files changed, 3 deletions(-)
--
2.53.0
^ permalink raw reply [flat|nested] 5+ messages in thread* [PATCH v3 1/2] xfs: remove duplicated xfs_attrlist size check
2026-11-30 14:00 [PATCH v3 0/2] xfs: remove duplicated lines Zizhi Wo
@ 2026-11-30 14:00 ` Zizhi Wo
2026-12-01 8:09 ` Christoph Hellwig
2026-11-30 14:00 ` [PATCH v3 2/2] xfs: remove duplicated xfs_rtginode_irele declaration Zizhi Wo
1 sibling, 1 reply; 5+ messages in thread
From: Zizhi Wo @ 2026-11-30 14:00 UTC (permalink / raw)
To: cem, dgc, djwong, hch, linux-xfs
Cc: linux-kernel, yangerkun, chengzhihao1, wozizhi
From: Zizhi Wo <wozizhi@huawei.com>
xfs_ondisk.h checks the size of struct xfs_attrlist twice. Remove it. No
functional changes.
Signed-off-by: Zizhi Wo <wozizhi@huawei.com>
---
fs/xfs/libxfs/xfs_ondisk.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/fs/xfs/libxfs/xfs_ondisk.h b/fs/xfs/libxfs/xfs_ondisk.h
index 23cde1248f01..ae16b1bc2bbe 100644
--- a/fs/xfs/libxfs/xfs_ondisk.h
+++ b/fs/xfs/libxfs/xfs_ondisk.h
@@ -305,7 +305,6 @@ xfs_check_ondisk_structs(void)
XFS_CHECK_STRUCT_SIZE(struct getbmapx, 48);
XFS_CHECK_STRUCT_SIZE(struct xfs_attrlist_cursor, 16);
XFS_CHECK_STRUCT_SIZE(struct xfs_attrlist, 8);
- XFS_CHECK_STRUCT_SIZE(struct xfs_attrlist, 8);
XFS_CHECK_STRUCT_SIZE(struct xfs_attrlist_ent, 4);
XFS_CHECK_STRUCT_SIZE(struct xfs_ag_geometry, 128);
XFS_CHECK_STRUCT_SIZE(struct xfs_rtgroup_geometry, 128);
--
2.53.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH v3 2/2] xfs: remove duplicated xfs_rtginode_irele declaration
2026-11-30 14:00 [PATCH v3 0/2] xfs: remove duplicated lines Zizhi Wo
2026-11-30 14:00 ` [PATCH v3 1/2] xfs: remove duplicated xfs_attrlist size check Zizhi Wo
@ 2026-11-30 14:00 ` Zizhi Wo
2026-12-01 8:09 ` Christoph Hellwig
1 sibling, 1 reply; 5+ messages in thread
From: Zizhi Wo @ 2026-11-30 14:00 UTC (permalink / raw)
To: cem, dgc, djwong, hch, linux-xfs
Cc: linux-kernel, yangerkun, chengzhihao1, wozizhi
From: Zizhi Wo <wozizhi@huawei.com>
xfs_rtgroup.h declares xfs_rtginode_irele() twice. Remove the duplicate
declaration. No functional changes.
Signed-off-by: Zizhi Wo <wozizhi@huawei.com>
---
fs/xfs/libxfs/xfs_rtgroup.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/fs/xfs/libxfs/xfs_rtgroup.h b/fs/xfs/libxfs/xfs_rtgroup.h
index fca2eb74908c..e505be68462b 100644
--- a/fs/xfs/libxfs/xfs_rtgroup.h
+++ b/fs/xfs/libxfs/xfs_rtgroup.h
@@ -328,8 +328,6 @@ int xfs_rtginode_create(struct xfs_rtgroup *rtg, enum xfs_rtg_inodes type,
bool init);
void xfs_rtginode_irele(struct xfs_inode **ipp);
-void xfs_rtginode_irele(struct xfs_inode **ipp);
-
static inline const char *xfs_rtginode_path(xfs_rgnumber_t rgno,
enum xfs_rtg_inodes type)
{
--
2.53.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
end of thread, other threads:[~2026-12-01 8:09 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-30 14:00 [PATCH v3 0/2] xfs: remove duplicated lines Zizhi Wo
2026-11-30 14:00 ` [PATCH v3 1/2] xfs: remove duplicated xfs_attrlist size check Zizhi Wo
2026-12-01 8:09 ` Christoph Hellwig
2026-11-30 14:00 ` [PATCH v3 2/2] xfs: remove duplicated xfs_rtginode_irele declaration Zizhi Wo
2026-12-01 8:09 ` Christoph Hellwig
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox