mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-10 07:00:48 +00:00
ext4: remove commented code in reserve_backup_gdb
Remove commented code in reserve_backup_gdb Signed-off-by: Kemeng Shi <shikemeng@huaweicloud.com> Reviewed-by: Theodore Ts'o <tytso@mit.edu> Link: https://lore.kernel.org/r/20230826174712.4059355-8-shikemeng@huaweicloud.com Signed-off-by: Theodore Ts'o <tytso@mit.edu>
This commit is contained in:
parent
7d4cd3b45a
commit
3145807727
@ -1080,9 +1080,6 @@ static int reserve_backup_gdb(handle_t *handle, struct inode *inode,
|
||||
for (i = 0; i < reserved_gdb; i++) {
|
||||
int err2;
|
||||
data = (__le32 *)primary[i]->b_data;
|
||||
/* printk("reserving backup %lu[%u] = %lu\n",
|
||||
primary[i]->b_blocknr, gdbackups,
|
||||
blk + primary[i]->b_blocknr); */
|
||||
data[gdbackups] = cpu_to_le32(blk + primary[i]->b_blocknr);
|
||||
err2 = ext4_handle_dirty_metadata(handle, NULL, primary[i]);
|
||||
if (!err)
|
||||
|
Loading…
x
Reference in New Issue
Block a user