]> git.karo-electronics.de Git - karo-tx-linux.git/commit
btrfs: don't dereference extent_mapping if NULL
authorRoel Kluin <roel.kluin@gmail.com>
Mon, 24 Oct 2011 14:53:36 +0000 (01:53 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 25 Oct 2011 08:47:37 +0000 (19:47 +1100)
commit2b6333deadbab91fa6ca10e12441cefe1cb89782
treec9049387b629d1e4f960551eab6fa490d1d35fa2
parente086dd7c3b23278eaa2e17fcbe14eeea1da76844
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 <akpm@linux-foundation.org>
fs/btrfs/inode.c