From: Benjamin Marzinski Date: Sat, 18 Aug 2007 01:22:07 +0000 (-0500) Subject: [GFS2] Add NULL entry to token table X-Git-Tag: v2.6.24-rc1~1405^2~27 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a5ad13856cbd10be429f09517c51277c02530f7;p=pandora-kernel.git [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 Signed-off-by: Steven Whitehouse --- Reading git-diff-tree failed