[GFS2] gfs2_dir_read_data(): fix uninitialized variable usage
authorAdrian Bunk <bunk@stusta.de>
Thu, 19 Oct 2006 14:02:07 +0000 (16:02 +0200)
committerSteven Whitehouse <swhiteho@redhat.com>
Fri, 20 Oct 2006 13:16:20 +0000 (09:16 -0400)
In the "if (extlen)" case, "bh" was used uninitialized.

This patch changes the code to what seems to have been intended.

Spotted by the Coverity checker.

This patch also removes a pointless "bh = NULL" asignment (the variable
is never accessed again after this point).

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>

No differences found