nfsd: don't allow zero length strings in cache_parse()
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 18 Jan 2012 09:56:02 +0000 (12:56 +0300)
committerJ. Bruce Fields <bfields@redhat.com>
Fri, 3 Feb 2012 19:26:42 +0000 (14:26 -0500)
There is no point in passing a zero length string here and quite a
few of that cache_parse() implementations will Oops if count is
zero.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Cc: stable@kernel.org
Signed-off-by: J. Bruce Fields <bfields@redhat.com>

No differences found