On Fri, Apr 24, 2020 at 03:25:39PM +0900, Chirantan Ekbote wrote: > virtiofs device implementations are allowed to provide more than one > request queue. In this case `fsvq->fud` would not be initialized, > leading to a nullptr dereference later during driver initialization. > > Make sure that `fsvq->fud` is initialized for all request queues even if > the driver doesn't use them. > > Signed-off-by: Chirantan Ekbote <[email protected]> > --- > fs/fuse/virtio_fs.c | 7 +++++-- > 1 file changed, 5 insertions(+), 2 deletions(-)
Reviewed-by: Stefan Hajnoczi <[email protected]>
signature.asc
Description: PGP signature
_______________________________________________ Virtio-fs mailing list [email protected] https://www.redhat.com/mailman/listinfo/virtio-fs
