hc
2024-01-31 f9004dbfff8a3fbbd7e2a88c8a4327c7f2f8e5b2
kernel/fs/ext2/xattr.c
....@@ -694,10 +694,10 @@
694694 /* We need to allocate a new block */
695695 ext2_fsblk_t goal = ext2_group_first_block_no(sb,
696696 EXT2_I(inode)->i_block_group);
697
- int block = ext2_new_block(inode, goal, &error);
697
+ ext2_fsblk_t block = ext2_new_block(inode, goal, &error);
698698 if (error)
699699 goto cleanup;
700
- ea_idebug(inode, "creating block %d", block);
700
+ ea_idebug(inode, "creating block %lu", block);
701701
702702 new_bh = sb_getblk(sb, block);
703703 if (unlikely(!new_bh)) {