Files
kernel_arpi/include/linux
Jan Kara bc8e5f0739 quota: Refactor dquot_transfer code so that OCFS2 can pass in its references
Currently, __dquot_transfer() acquires its own references of dquot structures
that will be put into inode. But for OCFS2, this creates a lock inversion
between dq_lock (waited on in dqget) and transaction start (started in
ocfs2_setattr). Currently, deadlock is impossible because dq_lock is acquired
only during dquot_acquire and dquot_release and we already hold a reference to
dquot structures in ocfs2_setattr so neither of these functions can be called
while we call dquot_transfer. But this is rather subtle and it is hard to teach
lockdep about it. So provide __dquot_transfer function that can be passed dquot
references directly. OCFS2 can then pass acquired dquot references directly to
__dquot_transfer with proper locking.

Signed-off-by: Jan Kara <jack@suse.cz>
2010-05-21 19:30:45 +02:00
..
2010-05-17 22:39:48 -07:00
2010-05-03 08:33:00 -04:00
2010-04-23 14:43:45 -04:00
2010-05-14 17:08:01 -04:00
2010-05-19 13:38:54 -04:00
2010-04-25 08:54:42 +02:00
2010-05-10 16:08:01 -07:00
2010-05-21 19:30:44 +02:00
2010-04-01 01:31:13 -07:00
2010-05-03 11:50:57 +02:00
2010-05-11 14:40:55 +02:00
2010-05-03 11:50:57 +02:00
2010-04-23 02:08:44 +02:00
2010-05-14 15:09:32 -04:00
2010-04-03 14:56:05 -07:00
2010-04-08 13:37:18 +02:00
2010-05-11 14:40:55 +02:00
2010-04-13 14:49:34 -07:00
2010-04-02 14:30:39 -07:00
2010-05-10 23:08:19 +02:00
2010-05-21 19:30:44 +02:00
2010-05-03 15:53:54 -07:00
2010-05-11 10:09:47 +02:00
2010-05-06 10:56:07 +10:00
2010-05-17 17:18:50 -07:00
2010-04-03 15:09:04 -07:00
2010-05-10 11:08:35 -07:00
2010-05-15 23:28:39 -07:00
2010-04-13 12:43:42 +02:00
2010-03-23 17:19:38 +01:00
2010-05-12 23:02:23 -07:00