btrfs: qgroup: check generation when recording simple quota delta
[linux-2.6-block.git] / fs / btrfs / qgroup.h
index 9858244eef20dbc64a139dd3c23ffbe1116fece9..855a4f97876185099db6a188d70c75ace327071f 100644 (file)
@@ -276,6 +276,8 @@ struct btrfs_squota_delta {
        u64 num_bytes;
        /* The number of bytes reserved for this extent. */
        u64 rsv_bytes;
+       /* The generation the extent was created in. */
+       u64 generation;
        /* Whether we are using or freeing the extent. */
        bool is_inc;
        /* Whether the extent is data or metadata. */