Alfred Perlstein
4b4ec9b800
Fix boundry condition in lock management:
...
Alfred, I took a look at retry_blockingfilelocklist() and the
solution seemed simple enough. Please correct me if I am wrong.
It seems said routine doesn't take into account boundary conditions
when putting back file_lock entries into the blocked lock-list.
Specifically, it fails when the file_lock being put back is the
last element in the list, and when it is the only element in the
list. I've included a patch below.
Basically, it introduces another variable: pfl, which keeps track
of the list item before ifl. That way if nfl is NULL, ifl gets
inserted after pfl. If pfl is also NULL, then it gets inserted
at the head of the list (since it was the only element in the
list).
Submitted by: Mike Makonnen <mike_makonnen@yahoo.com>
Tested by: Thomas Quinot <thomas@cuivre.fr.eu.org>
2002-01-17 00:12:05 +00:00
..
2001-10-29 00:36:01 +00:00
2001-09-05 19:26:17 +00:00
2002-01-10 14:36:17 +00:00
2002-01-14 16:59:03 +00:00
2001-10-04 14:13:16 +00:00
2002-01-15 04:31:08 +00:00
2001-08-10 17:35:21 +00:00
2001-08-20 15:09:34 +00:00
2001-12-10 21:13:36 +00:00
2001-07-20 06:20:32 +00:00
2001-12-11 06:44:29 +00:00
2001-08-15 09:09:47 +00:00
2001-08-08 18:32:06 +00:00
2001-08-15 09:09:47 +00:00
2002-01-05 15:21:05 +00:00
2001-12-10 21:13:36 +00:00
2001-07-20 06:20:32 +00:00
2001-12-14 16:22:41 +00:00
2001-12-28 09:24:19 +00:00
2001-08-14 10:01:54 +00:00
2001-12-14 09:40:01 +00:00
2002-01-16 14:12:02 +00:00
2001-10-23 10:18:41 +00:00
2001-08-13 16:33:00 +00:00
2001-08-31 12:52:50 +00:00
2001-12-14 16:22:41 +00:00
2001-12-10 21:13:36 +00:00
2001-12-10 21:13:36 +00:00
2002-01-06 19:57:26 +00:00
2001-12-10 21:13:36 +00:00
2001-08-20 08:29:55 +00:00
2001-12-31 18:21:24 +00:00
2001-12-11 08:29:10 +00:00
2002-01-10 17:41:22 +00:00
2002-01-10 17:04:10 +00:00
2001-12-15 19:09:04 +00:00
2001-08-07 15:48:51 +00:00
2001-12-04 03:28:31 +00:00
2001-12-21 08:10:28 +00:00
2002-01-10 18:30:07 +00:00
2001-07-20 06:20:32 +00:00
2001-12-11 13:14:48 +00:00
2001-09-26 19:35:03 +00:00
2001-07-20 06:20:32 +00:00
2001-07-20 06:20:32 +00:00
2001-07-20 06:20:32 +00:00
2001-07-20 06:20:32 +00:00
2001-07-20 06:20:32 +00:00
2002-01-16 06:55:30 +00:00
2001-08-07 15:48:51 +00:00
2001-09-04 13:10:28 +00:00
2001-07-20 06:20:32 +00:00
2001-07-15 08:06:20 +00:00
2001-07-30 11:18:09 +00:00
2001-07-20 06:20:32 +00:00
2001-08-15 09:09:47 +00:00
2002-01-03 19:10:49 +00:00
2001-10-29 00:40:05 +00:00
2001-12-15 23:35:55 +00:00
2001-07-20 06:20:32 +00:00
2001-07-20 06:20:32 +00:00
2001-08-09 06:20:18 +00:00
2001-07-20 06:20:32 +00:00
2001-07-15 08:06:20 +00:00
2001-07-20 06:20:32 +00:00
2001-08-07 06:22:12 +00:00
2001-07-20 06:20:32 +00:00
2001-07-20 06:20:32 +00:00
2001-07-20 06:20:32 +00:00
2001-12-04 02:19:58 +00:00
2001-12-04 02:19:58 +00:00
2001-12-14 11:41:22 +00:00
2001-12-04 02:19:58 +00:00
2001-08-10 13:45:36 +00:00
2001-03-26 14:42:20 +00:00
2001-09-13 06:48:18 +00:00
2001-06-24 20:25:23 +00:00
2001-09-24 15:38:38 +00:00
2001-12-17 13:59:35 +00:00
2001-07-15 08:06:20 +00:00
2001-07-15 08:06:20 +00:00
2001-07-20 06:20:32 +00:00
2001-08-09 19:40:35 +00:00
2001-11-14 17:00:58 +00:00
2001-12-04 02:19:58 +00:00
2001-08-15 09:09:47 +00:00
2001-08-10 13:45:36 +00:00
2001-07-15 07:53:42 +00:00
2001-12-17 16:21:59 +00:00
2001-07-20 06:20:32 +00:00
2001-12-17 16:21:59 +00:00
2002-01-06 18:03:55 +00:00
2001-11-27 12:57:45 +00:00
2001-12-17 16:21:59 +00:00
2001-12-08 16:15:44 +00:00
2001-07-20 06:20:32 +00:00
2001-07-20 06:20:32 +00:00
2002-01-15 14:39:31 +00:00
2001-07-20 06:20:32 +00:00
2002-01-16 14:03:52 +00:00
2001-10-01 08:43:58 +00:00
2001-07-31 16:09:29 +00:00
2001-07-20 06:20:32 +00:00
2001-07-20 06:20:32 +00:00
2001-12-11 08:29:10 +00:00
2001-07-20 06:20:32 +00:00
2001-10-23 01:21:29 +00:00
2001-12-20 16:03:04 +00:00
2001-10-27 02:13:41 +00:00
2001-12-10 21:13:36 +00:00
2001-11-19 08:20:24 +00:00
2001-11-20 16:33:55 +00:00
2001-08-08 22:27:02 +00:00
2001-12-10 21:13:36 +00:00
2001-07-20 06:20:32 +00:00
2001-09-05 17:05:31 +00:00
2001-08-07 15:48:51 +00:00
2002-01-17 00:12:05 +00:00
2001-07-20 06:20:32 +00:00
2001-12-09 20:18:36 +00:00
2002-01-14 16:59:03 +00:00
2001-07-20 06:20:32 +00:00
2002-01-14 16:59:03 +00:00
2001-08-20 00:03:01 +00:00
2001-08-10 17:35:21 +00:00
2001-08-15 09:09:47 +00:00
2001-07-15 08:06:20 +00:00
2001-09-11 12:27:15 +00:00
2001-10-28 20:33:07 +00:00
2001-08-15 09:09:47 +00:00
2002-01-14 19:42:11 +00:00
2001-09-14 11:03:34 +00:00
2001-12-04 13:39:02 +00:00
2001-08-10 13:45:36 +00:00
2001-03-26 14:42:20 +00:00
2001-07-20 06:20:32 +00:00
2001-09-13 06:48:18 +00:00
2001-10-17 04:12:29 +00:00
2001-07-10 15:12:08 +00:00
2001-07-20 06:20:32 +00:00
2001-12-17 13:59:35 +00:00
2002-01-15 05:43:37 +00:00
2002-01-10 15:16:58 +00:00
2001-08-04 21:48:18 +00:00
2001-08-31 11:05:24 +00:00
2001-10-28 20:53:17 +00:00
2001-11-20 07:13:40 +00:00
2001-09-13 06:48:18 +00:00
2001-09-13 06:52:42 +00:00
2001-08-31 16:26:37 +00:00
2001-08-07 15:48:51 +00:00
2002-01-02 20:16:53 +00:00
2001-08-13 14:06:34 +00:00
2001-09-10 09:08:47 +00:00
2001-07-20 06:20:32 +00:00
2001-07-20 06:20:32 +00:00
2001-11-24 17:02:58 +00:00
2001-09-21 07:25:53 +00:00
2001-08-10 17:35:21 +00:00
2001-07-20 06:20:32 +00:00
2001-07-20 06:20:32 +00:00
2002-01-14 16:59:03 +00:00
2002-01-14 16:59:03 +00:00
2002-01-14 16:59:03 +00:00
2002-01-14 16:59:03 +00:00
2002-01-14 16:59:03 +00:00
2001-07-20 06:20:32 +00:00
2001-11-04 06:15:28 +00:00
2001-03-26 14:42:20 +00:00