Btrfs: adjust NULL test
authorJulia Lawall <julia@diku.dk>
Wed, 22 Jul 2009 20:49:01 +0000 (16:49 -0400)
committerChris Mason <chris.mason@oracle.com>
Wed, 22 Jul 2009 20:49:01 +0000 (16:49 -0400)
Move the call to BUG_ON to before the dereference of the tested value.

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Chris Mason <chris.mason@oracle.com>

No differences found