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:56:22 +0000 (15:56 -0400)
commitc7977f86492088e0b82b98bc095e0af843770bb8
tree12fb31a828f1905d1a79b3a6257afb304ebcd27d
parenteaf947fc5d96db346aa3a63fa6e1c2186f377c74
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