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)
commit33c17ad5717c887568c1de61f15e5d58ed66d189
tree9593d6df5dd1a634361770d2cef87ab7c55b49b7
parent3acada49c2794c5aac21849e2ea05790c6dd2faa
Btrfs: adjust NULL test

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>
fs/btrfs/inode.c