diff options
author | Benjamin Marzinski <bmarzins@redhat.com> | 2007-08-17 20:22:07 -0500 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2007-10-10 08:55:34 +0100 |
commit | 9a5ad13856cbd10be429f09517c51277c02530f7 (patch) | |
tree | b71fd5ffe5ded4538cee1082bc680eefe24349d8 /fs/gfs2/bmap.c | |
parent | 382e6e256b0cb1a84a45a520cef75d1b8ff44663 (diff) |
[GFS2] Add NULL entry to token table
match_token() was returning garbage data instead of a fail value. This data
happened to match a valid option id for an option that required an argument (in
this case, lockproto=%s) For match_token() to correctly fail if the option
doesn't match any of the tokens, the token table must end with a NULL entry.
This patch adds the NULL entry.
Signed-off-by: Benjamin E. Marzinski <bmarzins@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/bmap.c')
0 files changed, 0 insertions, 0 deletions