Btrfs: don't continue setting up space cache when enospc
[linux-2.6-block.git] / fs / btrfs / transaction.h
index 109b8b7fb48e129df95b74c9bf07bfdf5c6c54be..30ae75074ca4740657d5de3063a9b14fc7d10b84 100644 (file)
@@ -34,6 +34,7 @@ enum btrfs_trans_state {
 
 #define BTRFS_TRANS_HAVE_FREE_BGS      0
 #define BTRFS_TRANS_DIRTY_BG_RUN       1
+#define BTRFS_TRANS_CACHE_ENOSPC       2
 
 struct btrfs_transaction {
        u64 transid;