summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/inode.c
diff options
context:
space:
mode:
authorLiu Bo <bo.liu@linux.alibaba.com>2018-08-25 07:47:59 +0200
committerDavid Sterba <dsterba@suse.com>2018-10-15 17:23:29 +0200
commitde2c6615dcddf2af868c5cbd1db2e9e73b4beb58 (patch)
tree054c68d8728c4ab43efafc237c97b0d8659a7bea /fs/btrfs/inode.c
parentbtrfs: remove unused pointer 'tree' in btrfs_submit_compressed_read (diff)
downloadlinux-de2c6615dcddf2af868c5cbd1db2e9e73b4beb58.tar.xz
linux-de2c6615dcddf2af868c5cbd1db2e9e73b4beb58.zip
Btrfs: fix alignment in declaration and prototype of btrfs_get_extent
This fixes btrfs_get_extent to be consistent with our existing declaration style. Note: For the record, indentation styles that are accepted are both, aligning under the opening ( and tab or double tab indentation on the next line. Preferrably not spliting the type or long expressions in the argument lists. Signed-off-by: Liu Bo <bo.liu@linux.alibaba.com> [ add note ] Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to '')
-rw-r--r--fs/btrfs/inode.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c
index 56e523774049..80e92c4448bb 100644
--- a/fs/btrfs/inode.c
+++ b/fs/btrfs/inode.c
@@ -6772,9 +6772,9 @@ static noinline int uncompress_inline(struct btrfs_path *path,
* This also copies inline extents directly into the page.
*/
struct extent_map *btrfs_get_extent(struct btrfs_inode *inode,
- struct page *page,
- size_t pg_offset, u64 start, u64 len,
- int create)
+ struct page *page,
+ size_t pg_offset, u64 start, u64 len,
+ int create)
{
struct btrfs_fs_info *fs_info = inode->root->fs_info;
int ret;