Whamcloud - gitweb
LU-10662 llite: Add exit for filedata allocation failed 96/31296/3
authorBen Evans <bevans@cray.com>
Tue, 13 Feb 2018 19:20:18 +0000 (14:20 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 6 Mar 2018 19:14:16 +0000 (19:14 +0000)
commitd9edfa50683aeed6a3c215dc623652b30bd34812
tree71fe26fa140a4536e8adccc767dba2f158f58dd7
parente52f2ea40e55d13b2f14fccd04959584c9022dbd
LU-10662 llite: Add exit for filedata allocation failed

When the filedata allocation fails, we need to exit to
a later point than out_openerr, which calls
deauthorize_statahead and ll_file_data_put, neither of
which is valid. (This leads to a panic.)

Signed-off-by: Ben Evans <bevans@cray.com>
Change-Id: I670d578f01b2731761e3149db36dd8da1551a30a
Cray-bug-id: LUS-1321
Reviewed-on: https://review.whamcloud.com/31296
Reviewed-by: Patrick Farrell <paf@cray.com>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Alexandr Boyko <c17825@cray.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/llite/file.c