]> 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>
Fri, 30 Sep 2011 04:53:11 +0000 (14:53 +1000)
commit927aab8832d9258b97de4f7f1f6ffb0f6e324342
tree3a510f495ade181f48ca20599461bd8b25c957f1
parent35fa151524bfa5af95b5c5f72c9b737e6774073c
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