Re: [PATCH] hugetlbfs: release subpool on fill_super failure

From: Yichong Chen

Date: Mon Jul 20 2026 - 03:23:44 EST


Thanks, Andrew.

Yes, moving the NULL check into hugepage_put_subpool() makes sense. I'll
send a follow-up cleanup patch for that.

The Sashiko comment about unlock_or_release_subpool() also looks like a
separate pre-existing race to me, so I'll look at that as an independent
fix.

Thanks,
Yichong