[Pvfs2-cvs] commit by pw in pvfs2/src/common/misc: pvfs2-util.c

CVS commit program cvs at parl.clemson.edu
Wed Jul 18 16:34:54 EDT 2007


Update of /projects/cvsroot/pvfs2/src/common/misc
In directory parlweb1:/tmp/cvs-serv6870/src/common/misc

Modified Files:
	pvfs2-util.c 
Log Message:
Remember to close the fstab, error exit path already got it right.


Index: pvfs2-util.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/common/misc/pvfs2-util.c,v
diff -u -p -p -u -r1.96 -r1.97
--- pvfs2-util.c	20 Mar 2007 20:01:36 -0000	1.96
+++ pvfs2-util.c	18 Jul 2007 20:34:54 -0000	1.97
@@ -536,6 +536,7 @@ const PVFS_util_tab *PVFS_util_parse_pvf
     }
     s_stat_tab_count++;
     strcpy(s_stat_tab_array[s_stat_tab_count-1].tabfile_name, targetfile);
+    PINT_fstab_close(mnt_fp);
     gen_mutex_unlock(&s_stat_tab_mutex);
     return (&s_stat_tab_array[s_stat_tab_count - 1]);
 



More information about the Pvfs2-cvs mailing list