summaryrefslogtreecommitdiffstats
path: root/fs/ext4/ioctl.c
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2019-05-12 10:49:47 +0200
committerTheodore Ts'o <tytso@mit.edu>2019-05-12 10:49:47 +0200
commit0ba33facfc9bb556d1938caa67dfe452695a9be9 (patch)
tree2446815c8ad9394e2cff2502bf9f05cd9d539d8d /fs/ext4/ioctl.c
parentext4: unsigned int compared against zero (diff)
downloadlinux-0ba33facfc9bb556d1938caa67dfe452695a9be9.tar.xz
linux-0ba33facfc9bb556d1938caa67dfe452695a9be9.zip
ext4: fix miscellaneous sparse warnings
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/ioctl.c')
-rw-r--r--fs/ext4/ioctl.c2
1 files changed, 1 insertions, 1 deletions
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)
static int ext4_ioc_getfsmap(struct super_block *sb,
struct fsmap_head __user *arg)
{
- struct getfsmap_info info = {0};
+ struct getfsmap_info info = { NULL };
struct ext4_fsmap_head xhead = {0};
struct fsmap_head head;
bool aborted = false;