Dave Chinner
0444d76ae6
fs: don't use igrab() while holding i_lock
...
Fix the incorrect use of igrab() inside the i_lock in NFS and Ceph‥
If we are already holding the i_lock, we have a reference to the
inode so we can safely use ihold() to gain an extra reference. This
avoids hangs due to lock recursion on the i_lock now that the
inode_lock is gone and igrab() uses the i_lock itself.
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: linux-fsdevel@vger.kernel.org
Cc: Ryan Mallon <ryan@bluewatersys.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2011-03-29 07:50:34 -07:00
..
2011-03-23 19:47:13 -07:00
2011-03-24 10:16:26 -07:00
2011-03-24 10:16:26 -07:00
2011-02-25 11:12:37 -08:00
2011-03-24 14:54:35 -04:00
2011-03-10 08:52:07 +01:00
2011-03-24 10:16:26 -07:00
2011-03-28 15:31:05 -07:00
2011-01-24 10:49:45 +11:00
2011-03-29 07:50:34 -07:00
2011-03-10 08:52:07 +01:00
2011-03-25 17:45:16 -07:00
2011-01-16 21:22:29 +00:00
2011-01-13 08:03:23 -08:00
2011-02-18 08:07:18 -08:00
2011-03-22 17:44:17 -07:00
2011-03-10 13:22:34 -06:00
2011-03-28 01:49:43 -05:00
2011-03-10 08:52:07 +01:00
2011-03-24 10:16:26 -07:00
2011-03-15 02:21:44 -04:00
2011-03-24 10:16:26 -07:00
2011-03-24 10:16:26 -07:00
2011-03-25 09:57:41 -07:00
2011-03-24 10:16:26 -07:00
2011-03-10 08:52:07 +01:00
2011-01-14 09:23:36 -08:00
2011-03-24 10:16:26 -07:00
2011-03-24 10:16:26 -07:00
2011-03-24 10:16:26 -07:00
2011-03-24 10:16:26 -07:00
2011-01-12 20:03:42 -05:00
2011-03-24 10:16:26 -07:00
2011-01-07 17:50:26 +11:00
2011-03-22 17:44:02 -07:00
2011-03-24 10:16:26 -07:00
2011-03-24 10:16:26 -07:00
2011-03-24 10:16:26 -07:00
2011-03-25 17:41:20 +02:00
2011-03-24 10:16:26 -07:00
2011-01-25 15:24:47 -05:00
2011-03-24 19:01:30 -07:00
2011-03-24 10:16:26 -07:00
2011-03-17 14:02:57 +01:00
2011-03-29 07:50:34 -07:00
2011-03-22 20:03:52 -04:00
2011-03-24 08:20:39 -07:00
2011-03-24 10:16:26 -07:00
2011-03-24 21:17:51 -04:00
2011-03-24 19:01:30 -07:00
2011-03-28 13:03:31 -07:00
2011-03-24 10:16:26 -07:00
2011-01-07 17:50:26 +11:00
2011-03-24 10:16:26 -07:00
2011-03-27 19:09:29 -07:00
2011-03-22 16:01:49 -07:00
2011-03-10 08:52:07 +01:00
2011-03-24 21:16:32 -04:00
2011-03-24 10:16:26 -07:00
2011-01-07 17:50:26 +11:00
2011-03-22 23:01:26 +00:00
2011-01-20 17:02:05 -08:00
2011-03-24 10:16:26 -07:00
2011-03-24 10:16:26 -07:00
2011-03-24 10:16:26 -07:00
2011-03-24 10:16:26 -07:00
2011-03-28 15:51:02 -07:00
2011-03-24 10:16:26 -07:00
2011-01-16 13:47:07 -05:00
2011-03-23 19:47:13 -07:00
2011-01-07 17:50:29 +11:00
2011-03-23 20:51:42 -07:00
2011-03-17 11:11:05 +01:00
2011-03-24 10:16:26 -07:00
2011-03-24 19:01:30 -07:00
2011-03-24 19:01:30 -07:00
2011-01-13 10:45:01 -08:00
2011-01-07 14:39:20 -08:00
2011-03-21 00:16:08 -04:00
2011-03-18 10:51:11 -07:00
2011-03-24 10:16:26 -07:00
2011-03-24 21:16:32 -04:00
2011-02-21 15:07:04 -08:00
2011-03-22 17:44:15 -07:00
2011-03-21 00:16:09 -04:00
2011-03-23 19:47:13 -07:00
2011-03-15 02:21:44 -04:00
2011-03-21 00:16:09 -04:00
2011-03-16 13:26:17 -07:00
2011-01-07 17:50:27 +11:00
2011-01-16 13:47:07 -05:00
2011-03-24 21:17:51 -04:00
2011-03-23 19:47:13 -07:00
2011-03-27 19:30:19 -07:00
2011-03-24 21:17:51 -04:00
2011-03-21 00:16:08 -04:00
2010-11-15 10:23:31 +01:00
2011-03-16 19:01:29 -07:00
2011-01-12 20:03:43 -05:00
2011-03-24 08:20:39 -07:00
2011-03-16 19:01:29 -07:00
2011-01-10 19:04:08 +01:00
2011-03-10 08:52:26 +01:00
2011-03-24 14:24:32 -04:00
2011-03-22 17:44:10 -07:00
2011-03-14 09:15:28 -04:00
2011-03-21 01:10:41 -04:00
2011-01-20 16:21:59 -08:00
2011-01-07 17:50:33 +11:00
2011-01-25 15:24:47 -05:00
2011-01-12 20:06:58 -05:00
2011-03-21 00:16:08 -04:00
2011-01-13 10:45:01 -08:00
2011-03-15 02:21:45 -04:00
2011-03-14 09:15:28 -04:00
2011-03-24 10:16:26 -07:00
2011-03-24 10:16:26 -07:00
2011-03-23 19:47:13 -07:00
2011-03-23 19:47:13 -07:00