diff options
author | 2009-11-10 09:01:43 +0000 | |
---|---|---|
committer | 2009-11-11 14:20:18 -0500 | |
commit | 4eb3991c5def39bcf553c14ebe2618fcb47b627f (patch) | |
tree | 9c35f532bd29e68014cc16dc6e528a8cca5cfe34 /lib/spinlock_debug.c | |
parent | Btrfs: skip btrfs_release_path in btrfs_update_root and btrfs_del_root (diff) | |
download | linux-rng-4eb3991c5def39bcf553c14ebe2618fcb47b627f.tar.xz linux-rng-4eb3991c5def39bcf553c14ebe2618fcb47b627f.zip |
Btrfs: avoid null deref in unpin_extent_cache()
I re-orderred the checks to avoid dereferencing "em" if it was null.
Found by smatch static checker.
Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'lib/spinlock_debug.c')
0 files changed, 0 insertions, 0 deletions