staging/lustre/mdc: fix issue found by Klocwork Insight tool
staging/lustre/mdc: fix issue found by Klocwork Insight tool

Pointer 'mod' checked for NULL at line 160 may be dereferenced at line 208.

Signed-off-by: Dmitry Eremin <ea1e3c6fa6979cfec6a3ebd98bd4636046bd897e@intel.com>
Reviewed-on: http://review.whamcloud.com/9387
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-4629
Reviewed-by: Lai Siyao <3de0ff1f562be7153cd883e1be3e88580ec32e8b@intel.com>
Reviewed-by: John L. Hammond <250de275cb407ebee9cf359bb33b5906af685700@intel.com>
Reviewed-by: Fan Yong <ab453e5c5a64c8df72d3573911da2af406d0c762@intel.com>
Signed-off-by: Oleg Drokin <65b2ca07820e940f66d8901813c729ec10a548f5@intel.com>
Signed-off-by: Greg Kroah-Hartman <4645f7897fd33786a2ee1264d590b3c400559d85@linuxfoundation.org>

KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs