Re: [Cluster-devel] [PATCH] [GFS2] bz253289 Add NULL entry to token table

2007-08-18 Thread Steven Whitehouse
Hi, Now in the -nmw git tree. Thanks, Steve. On Fri, 2007-08-17 at 20:22 -0500, Benjamin Marzinski wrote: > 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)

[Cluster-devel] [PATCH] [GFS2] bz253289 Add NULL entry to token table

2007-08-17 Thread Benjamin Marzinski
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 NUL