diff options
author | Josef Bacik | 2015-09-24 10:46:10 -0400 |
---|---|---|
committer | Chris Mason | 2015-10-21 18:51:45 -0700 |
commit | 3204d33cda40d9bc97f257c441225d3713916661 (patch) | |
tree | e49b77582067a853de06552056a1ae82785024a4 /fs/btrfs/volumes.c | |
parent | 0b670dc44c91bd1e5fac15b5ac4c98c8bd255ca2 (diff) |
Btrfs: add a flags field to btrfs_transaction
I want to set some per transaction flags, so instead of adding yet another int
lets just convert the current two int indicators to flags and add a flags field
for future use. Thanks,
Signed-off-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'fs/btrfs/volumes.c')
-rw-r--r-- | fs/btrfs/volumes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c index e875b6cc1e20..f86d83805b44 100644 --- a/fs/btrfs/volumes.c +++ b/fs/btrfs/volumes.c @@ -1462,7 +1462,7 @@ again: btrfs_std_error(root->fs_info, ret, "Failed to remove dev extent item"); } else { - trans->transaction->have_free_bgs = 1; + set_bit(BTRFS_TRANS_HAVE_FREE_BGS, &trans->transaction->flags); } out: btrfs_free_path(path); |