projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07724f9
)
ext4: replace plain integer with NULL in super.c
author
Sachin Kamat
<
[email protected]
>
Sun, 19 Aug 2012 02:29:18 +0000
(22:29 -0400)
committer
Theodore Ts'o
<
[email protected]
>
Sun, 19 Aug 2012 02:29:18 +0000
(22:29 -0400)
Fixes the following sparse warning:
fs/ext4/super.c:1672:45: warning: Using plain integer as NULL pointer
Signed-off-by: Sachin Kamat <
[email protected]
>
Signed-off-by: "Theodore Ts'o" <
[email protected]
>
fs/ext4/super.c
patch
|
blob
|
history
diff --git
a/fs/ext4/super.c
b/fs/ext4/super.c
index bae4124e147374a1a5d9ea090ebb8248af38a4f3..b875ff555865dd32e616bdb8d93d12b6eb54895d 100644
(file)
--- a/
fs/ext4/super.c
+++ b/
fs/ext4/super.c
@@
-1673,7
+1673,7
@@
static int parse_options(char *options, struct super_block *sb,
* Initialize args struct so we know whether arg was
* 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);
if (handle_mount_opt(sb, p, token, args, journal_devnum,
journal_ioprio, is_remount) < 0)