Whamcloud - gitweb
LU-9153 llog: consolidate common error checking 11/26211/4
authorAndreas Dilger <andreas.dilger@intel.com>
Thu, 9 Mar 2017 08:20:04 +0000 (01:20 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 19 Jul 2017 03:30:26 +0000 (03:30 +0000)
commitb522f7b4b1de029ff9f03c41420caf44d70dc982
tree21d6e3036ea048abef2b405b3d6465e4b9a9966b
parentdd3e456294cd634c5491500c66946b4f67606745
LU-9153 llog: consolidate common error checking

Consolidate error checking for corrupted and empty llog files
detected when the llog file is being opened into a single
routine llog_cat_process_common().

Signed-off-by: Andreas Dilger <andreas.dilger@intel.com>
Change-Id: I575343f486e7420c51466f9923b841c37f3ebbe5
Reviewed-on: https://review.whamcloud.com/26211
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Faccini Bruno <bruno.faccini@intel.com>
Reviewed-by: Mike Pershin <mike.pershin@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/obdclass/llog_cat.c