diff options
| author | Greg Kurz | 2017-03-06 17:34:01 +0100 |
|---|---|---|
| committer | Greg Kurz | 2017-03-06 17:34:01 +0100 |
| commit | b7361d46e75f12d8d943ca8d33ef82cafce39920 (patch) | |
| tree | 8361e686339dc6aced4763a98a603fbd56ab94fd /scripts/modules/module_block.py | |
| parent | Merge remote-tracking branch 'remotes/dgibson/tags/ppc-for-2.9-20170306' into... (diff) | |
| download | qemu-b7361d46e75f12d8d943ca8d33ef82cafce39920.tar.gz qemu-b7361d46e75f12d8d943ca8d33ef82cafce39920.tar.xz qemu-b7361d46e75f12d8d943ca8d33ef82cafce39920.zip | |
9pfs: fix bogus fd check in local_remove()
This was spotted by Coverity as a fd leak. This is certainly true, but also
local_remove() would always return without doing anything, unless the fd is
zero, which is very unlikely.
(Coverity issue CID1371732)
Signed-off-by: Greg Kurz <groug@kaod.org>
Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'scripts/modules/module_block.py')
0 files changed, 0 insertions, 0 deletions
