Whamcloud - gitweb
LU-14577 ldiskfs: support Ubuntu 20.04 kernel 5.4.0-1007
authorJian Yu <yujian@whamcloud.com>
Thu, 1 Apr 2021 02:04:13 +0000 (19:04 -0700)
committerLi Xi <lixi@ddn.com>
Mon, 26 Apr 2021 14:16:05 +0000 (14:16 +0000)
commitb6b80acf66132724219854c469050d7285185766
treee3922f8434891d55e00b64624fbc9d1b2c987063
parent5b61148576fd9e96c4296314a6418d8d77e53baa
LU-14577 ldiskfs: support Ubuntu 20.04 kernel 5.4.0-1007

While applying 5.4.0-66-ubuntu20.series ldiskfs patches
to kernel 5.4.0-1007, there is a conflict in
ext4_update_dx_flag() in ubuntu2004/ext4-pdirop.patch.
It turns out the ext4_update_dx_flag() codes in kernel
5.4.0-1007 are the same with those in kernel version
smaller than 5.4.0-66. So, 5.4.0-42-ubuntu20.series works.

This patch fixes lustre-build-ldiskfs.m4 to detect
5.4.0-42-ubuntu20.series for kernel 5.4.0-1007.

Test-Parameters: trivial

Change-Id: I3cd932b8ae2d7c7f4f900b8b18647a4252d100b2
Signed-off-by: Jian Yu <yujian@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/43188
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Yang Sheng <ys@whamcloud.com>
Reviewed-by: Sebastien Buisson <sbuisson@ddn.com>
Reviewed-by: Li Dongyang <dongyangli@ddn.com>
Reviewed-by: Li Xi <lixi@ddn.com>
config/lustre-build-ldiskfs.m4