mbox series

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

Message ID 20200917051341.9811-1-hsiangkao@redhat.com (mailing list archive)
Headers show
Series xfs: random patches on log recovery | expand

Message

Gao Xiang Sept. 17, 2020, 5:13 a.m. UTC
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(-)