Staging: lustre: lov: check return value of lov_sub_get()
authorJinshan Xiong <jinshan.xiong@intel.com>
Sat, 22 Oct 2016 00:34:49 +0000 (08:34 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 25 Oct 2016 07:52:02 +0000 (09:52 +0200)
commitf99e73a5e3ff556bc69e5e592fee18d4cb7600dd
tree5f56f73243b9222349493657f43aeb88a417d418
parent1b301e8343d24a7345bb84831f92e13afe6afeef
Staging: lustre: lov: check return value of lov_sub_get()

Check return value of lov_sub_get() in lov_io_read_ahead().

Signed-off-by: Jinshan Xiong <jinshan.xiong@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/lov/lov_io.c