]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: check for NULL pointer in updating reloc roots
authorLiu Bo <bo.li.liu@oracle.com>
Mon, 4 Mar 2013 16:25:36 +0000 (16:25 +0000)
committerJosef Bacik <jbacik@fusionio.com>
Mon, 4 Mar 2013 21:33:22 +0000 (16:33 -0500)
commitf48725116b7cf0daed4df67143389b9d4652ba41
tree3a138ce21038700b6cd81db196740de9657927a4
parenta23d222ec50d66b36e7f11f67c55d5f90d7419a0
Btrfs: check for NULL pointer in updating reloc roots

Add a check for NULL pointer to avoid invalid reference.

Signed-off-by: Liu Bo <bo.li.liu@oracle.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
fs/btrfs/relocation.c