staging: lustre: llite: check ret of ll_prep_md_op_data in ll_dir_filler
authorSwapnil Pimpale <spimpale@ddn.com>
Thu, 28 Apr 2016 01:37:18 +0000 (21:37 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 29 Apr 2016 04:53:18 +0000 (21:53 -0700)
commitfe956e728ade07f10a8a6594b787cab087a00be6
treebc32a7309a2f1e9939f3fa8d82ab845afe2e7a25
parent5787be94725c2229ca9188ce189f872c01c9841f
staging: lustre: llite: check ret of ll_prep_md_op_data in ll_dir_filler

ll_dir_filler() now checks the returned pointer from
ll_prep_md_op_data() using IS_ERR()

Signed-off-by: Swapnil Pimpale <spimpale@ddn.com>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-4082
Reviewed-on: http://review.whamcloud.com/8073
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
Signed-off-by: James Simmons <jsimmons@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/llite/dir.c