Commit 666245d9 authored by Jack Qiu's avatar Jack Qiu Committed by Theodore Ts'o

ext4: fix trailing whitespace

Made suggested modifications from checkpatch in reference to ERROR:
 trailing whitespace
Signed-off-by: default avatarJack Qiu <jack.qiu@huawei.com>
Reviewed-by: default avatarRitesh Harjani <riteshh@linux.ibm.com>
Link: https://lore.kernel.org/r/20210409042035.15516-1-jack.qiu@huawei.comSigned-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
parent 3088e5a5
...@@ -239,7 +239,7 @@ unsigned ext4_free_clusters_after_init(struct super_block *sb, ...@@ -239,7 +239,7 @@ unsigned ext4_free_clusters_after_init(struct super_block *sb,
ext4_group_t block_group, ext4_group_t block_group,
struct ext4_group_desc *gdp) struct ext4_group_desc *gdp)
{ {
return num_clusters_in_group(sb, block_group) - return num_clusters_in_group(sb, block_group) -
ext4_num_overhead_clusters(sb, block_group, gdp); ext4_num_overhead_clusters(sb, block_group, gdp);
} }
......
...@@ -3089,7 +3089,7 @@ int ext4_mb_alloc_groupinfo(struct super_block *sb, ext4_group_t ngroups) ...@@ -3089,7 +3089,7 @@ int ext4_mb_alloc_groupinfo(struct super_block *sb, ext4_group_t ngroups)
sbi->s_group_info_size = size / sizeof(*sbi->s_group_info); sbi->s_group_info_size = size / sizeof(*sbi->s_group_info);
if (old_groupinfo) if (old_groupinfo)
ext4_kvfree_array_rcu(old_groupinfo); ext4_kvfree_array_rcu(old_groupinfo);
ext4_debug("allocated s_groupinfo array for %d meta_bg's\n", ext4_debug("allocated s_groupinfo array for %d meta_bg's\n",
sbi->s_group_info_size); sbi->s_group_info_size);
return 0; return 0;
} }
......
...@@ -2234,10 +2234,10 @@ static int make_indexed_dir(handle_t *handle, struct ext4_filename *fname, ...@@ -2234,10 +2234,10 @@ static int make_indexed_dir(handle_t *handle, struct ext4_filename *fname,
retval = ext4_handle_dirty_dx_node(handle, dir, frame->bh); retval = ext4_handle_dirty_dx_node(handle, dir, frame->bh);
if (retval) if (retval)
goto out_frames; goto out_frames;
retval = ext4_handle_dirty_dirblock(handle, dir, bh2); retval = ext4_handle_dirty_dirblock(handle, dir, bh2);
if (retval) if (retval)
goto out_frames; goto out_frames;
de = do_split(handle,dir, &bh2, frame, &fname->hinfo); de = do_split(handle,dir, &bh2, frame, &fname->hinfo);
if (IS_ERR(de)) { if (IS_ERR(de)) {
...@@ -3469,7 +3469,7 @@ static int ext4_symlink(struct user_namespace *mnt_userns, struct inode *dir, ...@@ -3469,7 +3469,7 @@ static int ext4_symlink(struct user_namespace *mnt_userns, struct inode *dir,
* for transaction commit if we are running out of space * for transaction commit if we are running out of space
* and thus we deadlock. So we have to stop transaction now * and thus we deadlock. So we have to stop transaction now
* and restart it when symlink contents is written. * and restart it when symlink contents is written.
* *
* To keep fs consistent in case of crash, we have to put inode * To keep fs consistent in case of crash, we have to put inode
* to orphan list in the mean time. * to orphan list in the mean time.
*/ */
......
...@@ -5020,7 +5020,7 @@ static int ext4_fill_super(struct super_block *sb, void *data, int silent) ...@@ -5020,7 +5020,7 @@ static int ext4_fill_super(struct super_block *sb, void *data, int silent)
ext4_journal_commit_callback; ext4_journal_commit_callback;
block = ext4_count_free_clusters(sb); block = ext4_count_free_clusters(sb);
ext4_free_blocks_count_set(sbi->s_es, ext4_free_blocks_count_set(sbi->s_es,
EXT4_C2B(sbi, block)); EXT4_C2B(sbi, block));
err = percpu_counter_init(&sbi->s_freeclusters_counter, block, err = percpu_counter_init(&sbi->s_freeclusters_counter, block,
GFP_KERNEL); GFP_KERNEL);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment