aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/transaction.h
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2017-11-08 02:12:57 +0100
committerDavid Sterba <dsterba@suse.com>2018-01-22 16:08:14 +0100
commit165c8b022c492f7eb33f7c936ac063a6fd4e90a3 (patch)
treeb65ff297f85567fda0f996e412d7cdb5c800c973 /fs/btrfs/transaction.h
parentbtrfs: reorder btrfs_trans_handle members for better packing (diff)
downloadlinux-dev-165c8b022c492f7eb33f7c936ac063a6fd4e90a3.tar.xz
linux-dev-165c8b022c492f7eb33f7c936ac063a6fd4e90a3.zip
btrfs: use narrower type for btrfs_transaction::num_dirty_bgs
The u64 is an overkill here, we could not possibly create that many blockgroups in one transaction. Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/transaction.h')
-rw-r--r--fs/btrfs/transaction.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/transaction.h b/fs/btrfs/transaction.h
index edf53112a6f2..1805fd101767 100644
--- a/fs/btrfs/transaction.h
+++ b/fs/btrfs/transaction.h
@@ -70,7 +70,7 @@ struct btrfs_transaction {
struct list_head dirty_bgs;
struct list_head io_bgs;
struct list_head dropped_roots;
- u64 num_dirty_bgs;
+ unsigned int num_dirty_bgs;
/*
* we need to make sure block group deletion doesn't race with