staging/lustre: lov_io_init() should return error code
authorBobi Jam <bobijam.xu@intel.com>
Wed, 30 Mar 2016 23:49:07 +0000 (19:49 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 31 Mar 2016 04:38:13 +0000 (21:38 -0700)
commit30889c72a9fe53b3d4303464fc688497cbb14219
treeba39bd5cd8cf1c493aa9aff92763b3169d41b367
parent6cead36d284f230d29c2500c774180b8c716d4e6
staging/lustre: lov_io_init() should return error code

lov_io_init_empty/release() should returns error code instead of
true on error case.

Fault IO needs to handle restart in the case of accessing HSM released
file

Signed-off-by: Bobi Jam <bobijam.xu@intel.com>
Reviewed-on: http://review.whamcloud.com/17240
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-7446
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com>
Signed-off-by: Oleg Drokin <green@linuxhacker.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/llite/llite_mmap.c
drivers/staging/lustre/lustre/lov/lov_io.c
drivers/staging/lustre/lustre/obdclass/cl_io.c