summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/tests
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2016-09-23 13:57:06 +0200
committerDavid Sterba <dsterba@suse.com>2016-10-03 18:52:15 +0200
commit0e6757859efea6ed919fc37e4ee468634220b2d2 (patch)
tree41dac8421aa1b4ffa7e7dee13c9f34ad5a576e7d /fs/btrfs/tests
parentbtrfs: tests: constify free space extent specs (diff)
downloadlinux-0e6757859efea6ed919fc37e4ee468634220b2d2.tar.xz
linux-0e6757859efea6ed919fc37e4ee468634220b2d2.zip
btrfs: tests: uninline member definitions in free_space_extent
The recommended way is to put all members on separate lines. Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/tests')
-rw-r--r--fs/btrfs/tests/free-space-tree-tests.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/btrfs/tests/free-space-tree-tests.c b/fs/btrfs/tests/free-space-tree-tests.c
index 061b4d5315c4..6e144048a72e 100644
--- a/fs/btrfs/tests/free-space-tree-tests.c
+++ b/fs/btrfs/tests/free-space-tree-tests.c
@@ -24,7 +24,8 @@
#include "../transaction.h"
struct free_space_extent {
- u64 start, length;
+ u64 start;
+ u64 length;
};
static int __check_free_space_extents(struct btrfs_trans_handle *trans,