[PATCH] hv: hypervvssd: call endmntent before call setmntent again

2015-03-17 Thread Vaughan Cao
If freeze fails, vss_operate will re-enter itself to thaw. But it forgets to call endmntent() before it recalls setmntent() again. Signed-off-by: Vaughan Cao --- tools/hv/hv_vss_daemon.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/tools/hv/hv_vss_daemon.c

[PATCH] hv: hypervvssd: call endmntent before call setmntent again

2015-03-17 Thread Vaughan Cao
If freeze fails, vss_operate will re-enter itself to thaw. But it forgets to call endmntent() before it recalls setmntent() again. Signed-off-by: Vaughan Cao vaughan@oracle.com --- tools/hv/hv_vss_daemon.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git