]> 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>
Tue, 4 Oct 2011 07:38:20 +0000 (18:38 +1100)
commitfaea88389d770168d43df583ebb4ac904d4939a0
tree999f33ba96d7dda44813ebe2e6b6a1019b5a2851
parentadcb5059400a3c2524b62e42084f94cde83812e3
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