9p: null terminate fs driver options list
commit353b5a91ccf2789b85967d19a8795816b8865562
authorPrasad J Pandit <pjp@fedoraproject.org>
Thu, 9 Jul 2020 17:58:48 +0000 (9 23:28 +0530)
committerGreg Kurz <groug@kaod.org>
Fri, 10 Jul 2020 10:48:06 +0000 (10 12:48 +0200)
treeda134ec2e6ea41e31d7abd266af606cd0c71a2bd
parentb6d7e9b66f59ca6ebc6e9b830cd5e7bf849d31cf
9p: null terminate fs driver options list

NULL terminate fs driver options' list, validate_opt() looks for
a null entry to terminate the loop.

Fixes: aee7f3ecd8b7 ("fsdev: Error out when unsupported option is passed")
Signed-off-by: Prasad J Pandit <pjp@fedoraproject.org>
Reviewed-by: Li Qiang <liq3ea@gmail.com>
Message-Id: <20200709175848.650400-1-ppandit@redhat.com>
Signed-off-by: Greg Kurz <groug@kaod.org>
fsdev/qemu-fsdev.c