aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikunj A Dadhania <nikunj@linux.vnet.ibm.com>2013-09-26 16:12:32 +0530
committerNikunj A Dadhania <nikunj@linux.vnet.ibm.com>2013-09-26 16:27:22 +0530
commit9c624516416b0a4efd3da7924ffe794ee58a364a (patch)
tree5608c195ee8a88335bc76976e2c7650412a14e83
parent0ee161892795db614d3bb9c59fc999cc79898b11 (diff)
downloadSLOF-qemu-slof-20130926.zip
SLOF-qemu-slof-20130926.tar.gz
SLOF-qemu-slof-20130926.tar.bz2
ci: add missing close in else conditionqemu-slof-20130926
The code in close for calling quiesce looks if there is stdin and checks whether is being closed. That condition was being used to call quiesce. So in case when the ihandle is not that of stdin, close-dev was missing. Signed-off-by: Nikunj A Dadhania <nikunj@linux.vnet.ibm.com>
-rw-r--r--slof/fs/client.fs2
1 files changed, 2 insertions, 0 deletions
diff --git a/slof/fs/client.fs b/slof/fs/client.fs
index b4a8bb3..c80887b 100644
--- a/slof/fs/client.fs
+++ b/slof/fs/client.fs
@@ -196,6 +196,8 @@ ALSO client-voc DEFINITIONS
\ is an undocumented extension and not everybody supports it
close-dev
quiesce
+ ELSE
+ close-dev
THEN
ELSE
close-dev