]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: deal with NULL space info
authorChris Mason <chris.mason@oracle.com>
Tue, 22 Sep 2009 18:45:50 +0000 (14:45 -0400)
committerChris Mason <chris.mason@oracle.com>
Tue, 22 Sep 2009 18:45:50 +0000 (14:45 -0400)
commit99f95131751ded2bd78d586d28728688ddbf8305
tree198fb5c7d48bfd9e4010eb253e9e7573172a7680
parent1a1d516b6af8b231aa0912ccd6bc2073082dbe4b
Btrfs: deal with NULL space info

After a balance it is briefly possible for the space info
field in the inode to be NULL.  This adds some checks
to make sure things properly deal with the NULL value.

Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/extent-tree.c