mbox series

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

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

Message

Gao Xiang Sept. 4, 2020, 8:25 a.m. UTC
Hi folks,

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

I already ran fstests and no strange out and
changelog is in each individual patch.

Thanks,
Gao Xiang

Gao Xiang (2):
  xfs: avoid LR buffer overrun due to crafted h_{len,size}
  xfs: clean up calculation of LR header blocks

 fs/xfs/xfs_log.c         |   4 +-
 fs/xfs/xfs_log_recover.c | 103 +++++++++++++++++++--------------------
 2 files changed, 51 insertions(+), 56 deletions(-)