]> 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, 5 Oct 2011 00:42:29 +0000 (11:42 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 12 Oct 2011 06:31:51 +0000 (17:31 +1100)
commit6c19caa3821f7eb4b481ef23e52004a9eb11c2e4
tree34dbce4326c546a8e8580cc59ff7e3bc4134804a
parent4db902a6a426b5bff00b6fcaf2e5c5d3d11ad8a4
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