btrfs: account for non-CoW'd blocks in btrfs_abort_transaction
[deliverable/linux.git] / fs / btrfs / transaction.h
index 72be51f7ca2fbf92507f2e2f36344a6b0a45f1a8..c5abee4f01add54f811c78fac76170f8b5c02bb3 100644 (file)
@@ -110,7 +110,6 @@ struct btrfs_trans_handle {
        u64 chunk_bytes_reserved;
        unsigned long use_count;
        unsigned long blocks_reserved;
-       unsigned long blocks_used;
        unsigned long delayed_ref_updates;
        struct btrfs_transaction *transaction;
        struct btrfs_block_rsv *block_rsv;
@@ -121,6 +120,7 @@ struct btrfs_trans_handle {
        bool can_flush_pending_bgs;
        bool reloc_reserved;
        bool sync;
+       bool dirty;
        unsigned int type;
        /*
         * this root is only needed to validate that the root passed to
@@ -144,7 +144,7 @@ struct btrfs_pending_snapshot {
        /* block reservation for the operation */
        struct btrfs_block_rsv block_rsv;
        u64 qgroup_reserved;
-       /* extra metadata reseration for relocation */
+       /* extra metadata reservation for relocation */
        int error;
        bool readonly;
        struct list_head list;
This page took 0.040911 seconds and 5 git commands to generate.