Commit caecd0af authored by Sachin Kamat's avatar Sachin Kamat Committed by Theodore Ts'o

ext4: replace plain integer with NULL in super.c

Fixes the following sparse warning:
fs/ext4/super.c:1672:45: warning: Using plain integer as NULL pointer
Signed-off-by: default avatarSachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: default avatar"Theodore Ts'o" <tytso@mit.edu>
parent 07724f98
...@@ -1673,7 +1673,7 @@ static int parse_options(char *options, struct super_block *sb, ...@@ -1673,7 +1673,7 @@ static int parse_options(char *options, struct super_block *sb,
* Initialize args struct so we know whether arg was * Initialize args struct so we know whether arg was
* found; some options take optional arguments. * found; some options take optional arguments.
*/ */
args[0].to = args[0].from = 0; args[0].to = args[0].from = NULL;
token = match_token(p, tokens, args); token = match_token(p, tokens, args);
if (handle_mount_opt(sb, p, token, args, journal_devnum, if (handle_mount_opt(sb, p, token, args, journal_devnum,
journal_ioprio, is_remount) < 0) journal_ioprio, is_remount) < 0)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment