diff options
author | Ritesh Harjani <riteshh@linux.ibm.com> | 2022-02-16 12:32:47 +0530 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2022-02-25 21:34:56 -0500 |
commit | 123e3016ee9b3674a819537bc4c3174e25cd48fc (patch) | |
tree | d9c645922d83b7e62dfa192764686c193aece76e /fs/ext4/resize.c | |
parent | dbaafbadc5c3dad4010099d0ff135204a8dbff49 (diff) | |
download | linux-stable-123e3016ee9b3674a819537bc4c3174e25cd48fc.tar.gz linux-stable-123e3016ee9b3674a819537bc4c3174e25cd48fc.tar.bz2 linux-stable-123e3016ee9b3674a819537bc4c3174e25cd48fc.zip |
ext4: rename ext4_set_bits to mb_set_bits
ext4_set_bits() should actually be mb_set_bits() for uniform API naming
convention.
This is via below cmd -
grep -nr "ext4_set_bits" fs/ext4/ | cut -d ":" -f 1 | xargs sed -i 's/ext4_set_bits/mb_set_bits/g'
Signed-off-by: Ritesh Harjani <riteshh@linux.ibm.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/f1f6ece1405b76a7a987e9145d1adfaf71e30695.1644992610.git.riteshh@linux.ibm.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/resize.c')
-rw-r--r-- | fs/ext4/resize.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ext4/resize.c b/fs/ext4/resize.c index ee8f02f406cb..f507f34be602 100644 --- a/fs/ext4/resize.c +++ b/fs/ext4/resize.c @@ -483,7 +483,7 @@ static int set_flexbg_block_bitmap(struct super_block *sb, handle_t *handle, } ext4_debug("mark block bitmap %#04llx (+%llu/%u)\n", first_cluster, first_cluster - start, count2); - ext4_set_bits(bh->b_data, first_cluster - start, count2); + mb_set_bits(bh->b_data, first_cluster - start, count2); err = ext4_handle_dirty_metadata(handle, NULL, bh); brelse(bh); @@ -632,7 +632,7 @@ handle_bb: if (overhead != 0) { ext4_debug("mark backup superblock %#04llx (+0)\n", start); - ext4_set_bits(bh->b_data, 0, + mb_set_bits(bh->b_data, 0, EXT4_NUM_B2C(sbi, overhead)); } ext4_mark_bitmap_end(EXT4_B2C(sbi, group_data[i].blocks_count), |