]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0b37047a989e84246eb21b7dada0320338b4619a
tree9593d6df5dd1a634361770d2cef87ab7c55b49b7
parentc8f9f1476c892557ee807e409c6e091547f7f44a
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