diff options
| -rw-r--r-- | fs/ext4/fsmap.c | 2 | ||||
| -rw-r--r-- | fs/ext4/ioctl.c | 2 | ||||
| -rw-r--r-- | fs/ext4/super.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/fs/ext4/fsmap.c b/fs/ext4/fsmap.c index 4b99e2db95b8..dbccf46f1770 100644 --- a/fs/ext4/fsmap.c +++ b/fs/ext4/fsmap.c | |||
| @@ -626,7 +626,7 @@ int ext4_getfsmap(struct super_block *sb, struct ext4_fsmap_head *head, | |||
| 626 | { | 626 | { |
| 627 | struct ext4_fsmap dkeys[2]; /* per-dev keys */ | 627 | struct ext4_fsmap dkeys[2]; /* per-dev keys */ |
| 628 | struct ext4_getfsmap_dev handlers[EXT4_GETFSMAP_DEVS]; | 628 | struct ext4_getfsmap_dev handlers[EXT4_GETFSMAP_DEVS]; |
| 629 | struct ext4_getfsmap_info info = {0}; | 629 | struct ext4_getfsmap_info info = { NULL }; |
| 630 | int i; | 630 | int i; |
| 631 | int error = 0; | 631 | int error = 0; |
| 632 | 632 | ||
diff --git a/fs/ext4/ioctl.c b/fs/ext4/ioctl.c index 7e85ecf0b849..e486e49b31ed 100644 --- a/fs/ext4/ioctl.c +++ b/fs/ext4/ioctl.c | |||
| @@ -608,7 +608,7 @@ static int ext4_getfsmap_format(struct ext4_fsmap *xfm, void *priv) | |||
| 608 | static int ext4_ioc_getfsmap(struct super_block *sb, | 608 | static int ext4_ioc_getfsmap(struct super_block *sb, |
| 609 | struct fsmap_head __user *arg) | 609 | struct fsmap_head __user *arg) |
| 610 | { | 610 | { |
| 611 | struct getfsmap_info info = {0}; | 611 | struct getfsmap_info info = { NULL }; |
| 612 | struct ext4_fsmap_head xhead = {0}; | 612 | struct ext4_fsmap_head xhead = {0}; |
| 613 | struct fsmap_head head; | 613 | struct fsmap_head head; |
| 614 | bool aborted = false; | 614 | bool aborted = false; |
diff --git a/fs/ext4/super.c b/fs/ext4/super.c index fc6fa2c93e77..5013d04b41fd 100644 --- a/fs/ext4/super.c +++ b/fs/ext4/super.c | |||
| @@ -4679,7 +4679,7 @@ failed_mount: | |||
| 4679 | 4679 | ||
| 4680 | #ifdef CONFIG_QUOTA | 4680 | #ifdef CONFIG_QUOTA |
| 4681 | for (i = 0; i < EXT4_MAXQUOTAS; i++) | 4681 | for (i = 0; i < EXT4_MAXQUOTAS; i++) |
| 4682 | kfree(sbi->s_qf_names[i]); | 4682 | kfree(get_qf_name(sb, sbi, i)); |
| 4683 | #endif | 4683 | #endif |
| 4684 | ext4_blkdev_remove(sbi); | 4684 | ext4_blkdev_remove(sbi); |
| 4685 | brelse(bh); | 4685 | brelse(bh); |
