Add check for tree-log roots in btrfs_alloc_reserved_extents
authorChris Mason <chris.mason@oracle.com>
Tue, 23 Sep 2008 17:14:13 +0000 (13:14 -0400)
committerChris Mason <chris.mason@oracle.com>
Thu, 25 Sep 2008 15:04:07 +0000 (11:04 -0400)
commit1c2308f8e7d8491467e0095af2b01500f1b70819
tree598504d248cbd8b0b2a5ea90468db6e7076c92cc
parentce3ed71a58094544da1e1dc4723f1f553bb5b2d5
Add check for tree-log roots in btrfs_alloc_reserved_extents

Tree log blocks are only reserved, and should not ever get fully
allocated on disk.  This check makes sure they stay out of the
extent tree.

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