Linux XFS filesystem development
 help / color / mirror / Atom feed
* [PATCH 0/2] xfs: fix inode leak and clean up attr intent recovery
@ 2026-06-09 11:16 Yingjie Gao
  2026-06-09 11:16 ` [PATCH 1/2] xfs: fix inode ref leak in " Yingjie Gao
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Yingjie Gao @ 2026-06-09 11:16 UTC (permalink / raw)
  To: linux-xfs; +Cc: cem, djwong, linux-kernel, Yingjie Gao

Hi all,

The first patch fixes a leaked inode reference in
xfs_attr_recover_work() when transaction allocation fails after the
recovered attr work item has been attached to the defer pending list.

The second patch cleans up the same function's exit paths so they follow
the same linear cleanup style as the neighboring bmap and exchmaps
recovery helpers, and initializes the local error variable in the same
style.

Thanks,
Yingjie

Yingjie Gao (2):
  xfs: fix inode ref leak in attr intent recovery
  xfs: clean up attr intent recovery error paths

 fs/xfs/xfs_attr_item.c | 17 ++++++++++++-----
 1 file changed, 12 insertions(+), 5 deletions(-)

-- 
2.20.1

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2026-06-10  6:52 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-09 11:16 [PATCH 0/2] xfs: fix inode leak and clean up attr intent recovery Yingjie Gao
2026-06-09 11:16 ` [PATCH 1/2] xfs: fix inode ref leak in " Yingjie Gao
2026-06-09 14:57   ` Darrick J. Wong
2026-06-10  1:54     ` Yingjie Gao
2026-06-09 11:16 ` [PATCH 2/2] xfs: clean up attr intent recovery error paths Yingjie Gao
2026-06-10  2:20 ` [PATCH v2 0/2] xfs: fix inode leak and clean up attr intent recovery Yingjie Gao
2026-06-10  2:20   ` [PATCH v2 1/2] xfs: fix inode ref leak in " Yingjie Gao
2026-06-10  5:00     ` Darrick J. Wong
2026-06-10  2:20   ` [PATCH v2 2/2] xfs: clean up attr intent recovery error paths Yingjie Gao
2026-06-10  5:12     ` Darrick J. Wong
2026-06-10  5:38       ` Yingjie Gao
2026-06-10  6:30   ` [PATCH v2 0/2] xfs: fix inode leak and clean up attr intent recovery Carlos Maiolino
2026-06-10  6:52     ` Yingjie Gao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox