summaryrefslogtreecommitdiffstats
path: root/fs/locks.c
diff options
context:
space:
mode:
authorJan Kara2007-05-17 07:11:19 +0200
committerLinus Torvalds2007-05-17 14:23:05 +0200
commit7925409e202a41176b729671eab6e610a54153cd (patch)
tree7b97858fa33169a1616cc6f1e05b66117e97c1b3 /fs/locks.c
parenti386: don't check_pgt_cache in flush_tlb_mm (diff)
downloadkernel-qcow2-linux-7925409e202a41176b729671eab6e610a54153cd.tar.gz
kernel-qcow2-linux-7925409e202a41176b729671eab6e610a54153cd.tar.xz
kernel-qcow2-linux-7925409e202a41176b729671eab6e610a54153cd.zip
circular locking dependency found in QUOTA OFF
i_mutex on quota files is special. Unlike i_mutexes for other inodes it is acquired under dqonoff_mutex. Tell lockdep about this lock ranking. Also comment and code in quota_sync_sb() seem to be bogus (as i_mutex for quota file can be acquired under dqonoff_mutex). Move truncate_inode_pages() call under dqonoff_mutex and save some problems with races... Signed-off-by: Jan Kara <jack@suse.cz> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/locks.c')
0 files changed, 0 insertions, 0 deletions