mirror of
https://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git
synced 2024-12-01 14:04:18 +08:00
build: quiet build warnings for "gcc -Wall"
Signed-off-by: Andreas Dilger <adilger@dilger.ca> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
This commit is contained in:
parent
fca8b1b241
commit
1b8c4c1b45
@ -595,7 +595,7 @@ static int do_one_pass(journal_t *journal,
|
||||
success = -EIO;
|
||||
printk(KERN_ERR "JBD: Invalid "
|
||||
"checksum recovering "
|
||||
"block %ld in log\n",
|
||||
"block %lld in log\n",
|
||||
blocknr);
|
||||
continue;
|
||||
}
|
||||
|
@ -113,10 +113,8 @@ static errcode_t ext2fs_ext_attr_block_csum(ext2_filsys fs, ext2_ino_t inum,
|
||||
struct ext2_ext_attr_header *hdr,
|
||||
__u32 *crc)
|
||||
{
|
||||
errcode_t retval;
|
||||
char *buf = (char *)hdr;
|
||||
__u32 gen, old_crc = hdr->h_checksum;
|
||||
struct ext2_inode inode;
|
||||
__u32 old_crc = hdr->h_checksum;
|
||||
|
||||
hdr->h_checksum = 0;
|
||||
block = ext2fs_cpu_to_le64(block);
|
||||
|
@ -95,7 +95,6 @@ static errcode_t create_icache(ext2_filsys fs)
|
||||
{
|
||||
int i;
|
||||
errcode_t retval;
|
||||
void *p;
|
||||
|
||||
if (fs->icache)
|
||||
return 0;
|
||||
|
@ -768,9 +768,8 @@ static void disable_uninit_bg(ext2_filsys fs, __u32 csum_feature_flag)
|
||||
static int update_feature_set(ext2_filsys fs, char *features)
|
||||
{
|
||||
struct ext2_super_block *sb = fs->super;
|
||||
struct ext2_group_desc *gd;
|
||||
__u32 old_features[3];
|
||||
int i, type_err;
|
||||
int type_err;
|
||||
unsigned int mask_err;
|
||||
|
||||
#define FEATURE_ON(type, mask) (!(old_features[(type)] & (mask)) && \
|
||||
|
Loading…
Reference in New Issue
Block a user