mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/2] hfsplus: fix lock leak and refactor hidden dir search
@ 2026-03-18 15:00 Zilin Guan
  2026-03-18 15:00 ` [PATCH v2 1/2] hfsplus: fix held lock freed on hfsplus_fill_super() Zilin Guan
  2026-03-18 15:00 ` [PATCH v2 2/2] hfsplus: extract hidden directory search into a helper function Zilin Guan
  0 siblings, 2 replies; 6+ messages in thread
From: Zilin Guan @ 2026-03-18 15:00 UTC (permalink / raw)
  To: slava.dubeyko
  Cc: akpm, frank.li, glaubitz, jianhao.xu, linux-fsdevel,
	linux-kernel, slava, stable, zilin

This patch series improves the hidden directory lookup logic in
hfsplus_fill_super().

Patch 1 fixes a b-tree lock leak on the error path during the hidden
directory lookup.

Patch 2 subsequently refactors this lookup logic into a dedicated
helper function to properly encapsulate the data lifecycle, improve
readability, and simplify error handling.

Changes in v2:
- Add patch 2 to extract the hidden directory lookup logic into a helper 
  function.

Zilin Guan (2):
  hfsplus: fix held lock freed on hfsplus_fill_super()
  hfsplus: extract hidden directory search into a helper function

 fs/hfsplus/super.c | 39 ++++++++++++++++++++++++++++-----------
 1 file changed, 28 insertions(+), 11 deletions(-)

-- 
2.34.1


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

end of thread, other threads:[~2026-03-19 21:07 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-03-18 15:00 [PATCH v2 0/2] hfsplus: fix lock leak and refactor hidden dir search Zilin Guan
2026-03-18 15:00 ` [PATCH v2 1/2] hfsplus: fix held lock freed on hfsplus_fill_super() Zilin Guan
2026-03-18 15:00 ` [PATCH v2 2/2] hfsplus: extract hidden directory search into a helper function Zilin Guan
2026-03-18 22:33   ` Viacheslav Dubeyko
2026-03-19 14:49     ` Zilin Guan
2026-03-19 21:07       ` Viacheslav Dubeyko

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

all inboxes | Powered by JetHome®