Steven Whitehouse 2ca99501fa [GFS2] Fix page lock/glock deadlock
This fixes a race between the glock and the page lock encountered
during truncate in gfs2_readpage and gfs2_prepare_write. The gfs2_readpages
function doesn't need the same fix since it only uses a try lock anyway, so
it will fail back to gfs2_readpage in the case of a potential deadlock.

This bug was spotted by Russell Cattelan.

Cc: Russell Cattelan <cattelan@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
2006-11-30 10:34:43 -05:00
..
2006-10-11 11:14:23 -07:00
2006-10-10 16:15:33 -07:00
2006-11-25 13:28:33 -08:00
2006-10-11 11:14:21 -07:00
2006-10-11 11:14:21 -07:00
2006-11-16 11:43:38 -08:00
2006-11-25 13:28:33 -08:00
2006-11-30 10:34:43 -05:00
2006-10-10 16:15:34 -07:00
2006-10-11 11:14:23 -07:00
2006-10-11 11:14:23 -07:00
2006-11-16 11:43:38 -08:00
2006-10-03 23:01:26 +02:00
2006-11-25 13:28:33 -08:00
2006-10-11 11:14:23 -07:00
2006-10-05 16:18:55 -07:00
2006-10-10 16:15:34 -07:00
2006-11-16 11:43:38 -08:00
2006-01-11 18:42:13 -08:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-10-04 06:51:26 -06:00
2006-10-11 11:14:25 -07:00
2006-10-31 08:06:58 -08:00
2006-01-08 20:12:40 -08:00
2006-10-11 11:14:21 -07:00
2006-10-02 07:57:15 -07:00
2006-04-11 13:53:33 +02:00
2006-10-01 00:39:33 -07:00
2006-06-26 09:58:17 -07:00
2005-11-07 18:18:11 -08:00
2006-10-01 00:39:19 -07:00
2005-04-16 15:20:36 -07:00
2006-03-23 07:38:11 -08:00
2006-10-01 00:39:29 -07:00
2006-03-23 07:38:12 -08:00
2006-10-01 00:39:19 -07:00
2005-04-16 15:20:36 -07:00