[PATCH v2 0/2] xfs: random patches on log recovery

Gao Xiang
2020-09-17T05:20:42Z

Hi folks,

Here are some patches after I read recovery code days ago.
Due to code coupling, I send them as a patchset.

This version mainly addresses previous review from Brian,
sorry for taking some time due to another work.

I already ran fstests and no strange out on my side and
detail changelog is in each individual patch.

Thanks,
Gao Xiang

Gao Xiang (2):
xfs: avoid LR buffer overrun due to crafted h_len
xfs: clean up calculation of LR header blocks

fs/xfs/xfs_log.c | 4 +-
fs/xfs/xfs_log_recover.c | 87 ++++++++++++++++------------------------
2 files changed, 36 insertions(+), 55 deletions(-)

--
2.18.1