]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging/lustre/llite: check ll_prep_md_op_data() using IS_ERR()
authorJohn L. Hammond <john.hammond@intel.com>
Mon, 22 Jul 2013 16:06:29 +0000 (00:06 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 23 Jul 2013 19:39:24 +0000 (12:39 -0700)
commit79a8726a8453a2350f463fc3182bae43a5417181
treeca6b187404cead054e5acfe2812dd484985c29d5
parente06c9dfec0f3738409b3936dcd0a4ae126acac07
staging/lustre/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().

Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3283
Lustre-change: http://review.whamcloud.com/6275
Signed-off-by: John L. Hammond <john.hammond@intel.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>
Signed-off-by: Peng Tao <tao.peng@emc.com>
Signed-off-by: Andreas Dilger <andreas.dilger@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/llite/file.c