Skip to content

Commit 9782b33

Browse files
Phillip Duncanintel-lab-lkp
Phillip Duncan
authored andcommitted
btrfs: tests: fix formatting in btrfs-tests
checkpatch.pl had a couple of formatting suggestions: - torvalds#38: Don't use multiple blank lines - torvalds#42: Missing a blank line after declarations - torvalds#282: Alignment should match open parenthesis Fixed these format suggestions, checkpatch.pl is a little cleaner now. Signed-off-by: Phillip Duncan <[email protected]>
1 parent bebbb1f commit 9782b33

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

fs/btrfs/tests/btrfs-tests.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ static const struct super_operations btrfs_test_super_ops = {
3535
.destroy_inode = btrfs_test_destroy_inode,
3636
};
3737

38-
3938
static int btrfs_test_init_fs_context(struct fs_context *fc)
4039
{
4140
struct pseudo_fs_context *ctx = init_pseudo(fc, BTRFS_TEST_MAGIC);
41+
4242
if (!ctx)
4343
return -ENOMEM;
4444
ctx->ops = &btrfs_test_super_ops;
@@ -278,8 +278,7 @@ int btrfs_run_sanity_tests(void)
278278
ret = btrfs_test_free_space_cache(sectorsize, nodesize);
279279
if (ret)
280280
goto out;
281-
ret = btrfs_test_extent_buffer_operations(sectorsize,
282-
nodesize);
281+
ret = btrfs_test_extent_buffer_operations(sectorsize, nodesize);
283282
if (ret)
284283
goto out;
285284
ret = btrfs_test_extent_io(sectorsize, nodesize);

0 commit comments

Comments
 (0)