Files
ubports_kernel_google_msm/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-05-14 17:08:01 -04:00
2010-05-19 13:38:54 -04:00
2010-05-10 16:08:01 -07:00
2010-05-21 19:30:44 +02: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-05-14 15:09:32 -04:00
2010-05-11 14:40:55 +02: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-05-10 11:08:35 -07:00
2010-05-15 23:28:39 -07:00
2010-05-12 23:02:23 -07:00