[Ocfs2-commits] manish commits r1185 - trunk/src

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Tue Jun 22 18:44:37 CDT 2004


Author: manish
Date: 2004-06-22 17:44:35 -0500 (Tue, 22 Jun 2004)
New Revision: 1185

Modified:
   trunk/src/super.c
Log:
strsep exists on all kernels we support


Modified: trunk/src/super.c
===================================================================
--- trunk/src/super.c	2004-06-22 22:27:57 UTC (rev 1184)
+++ trunk/src/super.c	2004-06-22 22:44:35 UTC (rev 1185)
@@ -438,12 +438,7 @@
 
 	LOG_TRACE_ARGS("strlen(options) = %u, options = \"%s\"\n", (unsigned int)strlen(options), options);
 
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
 	while ( (c = strsep(&options, ",")) != NULL)
-#else
-	for (c = strtok (options, ","); c != NULL; c = strtok (NULL, ","))
-#endif
-//	while ( (c = strsep(&options, ",")) != NULL) 
 	{
 		if ((value = strchr (c, '=')) != NULL)
 			*value++ = 0;



More information about the Ocfs2-commits mailing list