Whamcloud - gitweb
LU-9485 llite: check the return value of cl_file_inode_init() 58/27658/7
authorBobi Jam <bobijam.xu@intel.com>
Thu, 15 Jun 2017 08:01:13 +0000 (16:01 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 22 Jun 2017 02:55:11 +0000 (02:55 +0000)
commitca41d88d9228e469a8728c20c21c7e919b77dc12
treea4f05a37bea0b765bccca07c2837f0d378cf96a8
parent62bc3afea210eed59dd25fa4cf0fd5ecd083a7ae
LU-9485 llite: check the return value of cl_file_inode_init()

ll_update_inode() does not check the return value of
cl_file_inode_init(), and it should check.

Signed-off-by: Bobi Jam <bobijam.xu@intel.com>
Change-Id: I4174e4f8166d7834a1d619aa8d0191d1f428c62c
Reviewed-on: https://review.whamcloud.com/27658
Tested-by: Jenkins
Reviewed-by: Fan Yong <fan.yong@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/llite/llite_lib.c