Whamcloud - gitweb
LU-3283 llite: check ll_prep_md_op_data() using IS_ERR()
authorJohn L. Hammond <john.hammond@intel.com>
Mon, 6 May 2013 21:53:38 +0000 (16:53 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 3 Jun 2013 19:54:31 +0000 (15:54 -0400)
commit27703ae593cb97c35479400deea384d4d0016fc5
tree823205e286c602243df8c0151d3930ca6fe472cb
parentd821adb626e050206f1b4605f1159cf65ad22af5
LU-3283 llite: check ll_prep_md_op_data() using IS_ERR()

In ll_file_ioctl() and ll_swap_layouts() check the result of
ll_prep_md_op_data() using IS_ERR().

Signed-off-by: John L. Hammond <john.hammond@intel.com>
Change-Id: Ib916635559863cd7a8aee3c88bb1d2bb2e7921b8
Reviewed-on: http://review.whamcloud.com/6275
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com>
Reviewed-by: Fan Yong <fan.yong@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/llite/file.c