Searched hist:"23 da0145cc4be66fdb1033f951dbbf140f457896" (Results 1 – 1 of 1) sorted by relevance
/openbmc/qemu/hw/9pfs/ |
H A D | 9p-local.c | diff 23da0145cc4be66fdb1033f951dbbf140f457896 Mon Mar 06 10:34:01 CST 2017 Greg Kurz <groug@kaod.org> 9pfs: fail local_statfs() earlier
If we cannot open the given path, we can return right away instead of passing -1 to fstatfs() and close(). This will make Coverity happy.
(Coverity issue CID1371729)
Signed-off-by: Greg Kurz <groug@kaod.org> Reviewed-by: Daniel P. berrange <berrange@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
|