]> git.karo-electronics.de Git - karo-tx-linux.git/commit
btrfs: don't dereference extent_mapping if NULL
authorRoel Kluin <roel.kluin@gmail.com>
Wed, 28 Sep 2011 00:49:43 +0000 (10:49 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 29 Sep 2011 06:07:52 +0000 (16:07 +1000)
commitb33868d1aa0a6352b3fe255befcc0040704127c0
tree6c4320f6131a94d83e59a21f6c2b1affd72df3bf
parent3b54484369d5e456bdedf2a06cefde6f91202058
btrfs: don't dereference extent_mapping if NULL

Don't dereference em if it's NULL or an error pointer.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Cc: Chris Mason <chris.mason@oracle.com>
Signed-off-by: Andrew Morton <>
fs/btrfs/inode.c