]> 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, 1 Nov 2011 08:39:13 +0000 (19:39 +1100)
commitc6f3198a255763b18f5d7fd691dc8f8a93843afb
tree82fbaa9d6cbb07b43b6f97596c69cc2e66119c85
parent339d3627920b879b0258f4f713c787de041c27b0
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