]> git.baikalelectronics.ru Git - kernel.git/commit
staging: lustre: llite: no need to check dentry is NULL
authorJohn L. Hammond <john.hammond@intel.com>
Sun, 18 Sep 2016 20:37:35 +0000 (16:37 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 19 Sep 2016 07:40:35 +0000 (09:40 +0200)
commit855a4a7b5aa5729cdf96e0a9ada2849fb0e674e9
tree129ce0be0879d6a89a49032931a3f4d7bd49a303
parenta985cc4570e0d7ed3c7d6a4e9ab89ec9de1fee74
staging: lustre: llite: no need to check dentry is NULL

We are already touching dentry in CDEBUG macros so it
will crash long before these checks. Since this is the
case no need to do an additional check.

Signed-off-by: John L. Hammond <john.hammond@intel.com>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-2675
Reviewed-on: http://review.whamcloud.com/10769
Reviewed-by: Yang Sheng <yang.sheng@intel.com>
Reviewed-by: Lai Siyao <lai.siyao@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/namei.c