Whamcloud - gitweb
LU-10883 llog: fix backup file name comparison 86/31886/7
authorArtem Blagodarenko <artem.blagodarenko@seagate.com>
Thu, 5 Apr 2018 06:54:40 +0000 (09:54 +0300)
committerOleg Drokin <green@whamcloud.com>
Fri, 4 Jan 2019 04:45:11 +0000 (04:45 +0000)
commit5bc7ee090d6475ccd60785e120a21ecbbed3baa4
tree73c577379f17a2bcc1a24700a645d7ea771a6f88
parent773e60669b53b0ca2fb48723a21dcddba592af9a
LU-10883 llog: fix backup file name comparison

Last 3 bytes of key are wrongly compared with ".bak" extention.
4 bytes need to be compared.

Signed-off-by: Artem Blagodarenko <artem.blagodarenko@gmail.com>
Change-Id: I90c1af2e41569780bf81df3975603acdc828edd6
Test-Parameters: testlist=conf-sanity
Reviewed-on: https://review.whamcloud.com/31886
Tested-by: Jenkins
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Vladimir Saveliev <c17830@cray.com>
lustre/mgs/mgs_llog.c