]> git.karo-electronics.de Git - linux-beck.git/commit
xfs:xfs_dir2_node.c: pointer use before check for null
authorDenis Efremov <yefremov.denis@gmail.com>
Fri, 25 Oct 2013 11:53:25 +0000 (15:53 +0400)
committerBen Myers <bpm@sgi.com>
Wed, 30 Oct 2013 20:53:14 +0000 (15:53 -0500)
commit5bf1f439c89d4653f8cc8f8aa303e0d6991aba4b
treeb332e43e4d76d1a100ddb658eab9e55d0433e3b9
parentad22c7a043c2cc6792820e6c5da699935933e87d
xfs:xfs_dir2_node.c: pointer use before check for null

ASSERT on args takes place after args dereference.
This assertion is redundant since we are going to panic anyway.

Found by Linux Driver Verification project (linuxtesting.org) -
PVS-Studio analyzer.

Signed-off-by: Denis Efremov <yefremov.denis@gmail.com>
Reviewed-by: Ben Myers <bpm@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
fs/xfs/xfs_dir2_node.c