summaryrefslogtreecommitdiffstats
path: root/fs/attr.c
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2010-05-13 20:18:45 +0200
committerJan Kara <jack@suse.cz>2010-05-21 19:30:48 +0200
commit52a9ee281cfb26fffce1d6c409fb4b1f4aa8a766 (patch)
treeb30f8ac1bab7f793f7c3c999e9df59818578e6d9 /fs/attr.c
parent741e128933448e589a85286e535078b24f4cf568 (diff)
downloadop-kernel-dev-52a9ee281cfb26fffce1d6c409fb4b1f4aa8a766.zip
op-kernel-dev-52a9ee281cfb26fffce1d6c409fb4b1f4aa8a766.tar.gz
ocfs2: Use __dquot_transfer to avoid lock inversion
dquot_transfer() acquires own references to dquots via dqget(). Thus it waits for dq_lock which creates a lock inversion because dq_lock ranks above transaction start but transaction is already started in ocfs2_setattr(). Fix the problem by passing own references directly to __dquot_transfer. Acked-by: Joel Becker <Joel.Becker@oracle.com> Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/attr.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud