Skip to content

ext4: fix quotas leak in __ext4_fill_super()

Baokun Li linux-ext4 lkml 3 versions – Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 3 repliesApplied
  2. v22 patches 3 repliesSuperseded
  3. v12 patches 1 replySuperseded

Changes in v3 from the cover letter

By adding __maybe_unused to silence possible compilation complain in patch one, instead of adding the judgment. (Suggested by Jan Kara).

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/2ext4: turning quotas off if mount failed after enable quotasfs/ext4/super.c+4 -21 reply
2/2ext4: refactoring to use the unified helper ext4_quotas_off()fs/ext4/super.c+7 -190 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchJan Kara
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/2] ext4: fix quotas leak in __ext4_fill_super()

V1->V2:
Add judgment for CONFIG_QUOTA to avoid warning "label 'failed_mount9' defined but not used". (Reported-by: kernel test robot <[email protected]>)
V2->V3:
By adding __maybe_unused to silence possible compilation complain in patch one, instead of adding the judgment. (Suggested by Jan Kara).

Baokun Li (2):
ext4: turning quotas off if mount failed after enable quotas
ext4: refactoring to use the unified helper ext4_quotas_off()

 fs/ext4/super.c | 30 ++++++++++--------------------
 1 file changed, 10 insertions(+), 20 deletions(-)
Signature · 1 line
2.31.1