svn commit: r315669 - user/pho/stress2/lib

Peter Holm pho at FreeBSD.org
Tue Mar 21 08:39:37 UTC 2017


Author: pho
Date: Tue Mar 21 08:39:36 2017
New Revision: 315669
URL: https://svnweb.freebsd.org/changeset/base/315669

Log:
  Missed to remove a break from the loop.
  
  Sponsored by:	Dell EMC Isilon

Modified:
  user/pho/stress2/lib/resources.c

Modified: user/pho/stress2/lib/resources.c
==============================================================================
--- user/pho/stress2/lib/resources.c	Tue Mar 21 08:38:12 2017	(r315668)
+++ user/pho/stress2/lib/resources.c	Tue Mar 21 08:39:36 2017	(r315669)
@@ -170,8 +170,6 @@ getdf(int64_t *block, int64_t *inode)
 			fprintf(stderr, "%s is waiting for lock file %s\n",
 			    getprogname(), lockpath);
 	}
-	if (lockfd != -1)
-		break;
 	fprintf(stderr, "%s. Removing stale %s\n", getprogname(), lockpath);
 	unlink(lockpath);
 	if (lockfd == -1)


More information about the svn-src-user mailing list