aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd/commit.c
diff options
context:
space:
mode:
authorJan Kara <[email protected]>2010-01-06 16:20:35 +0000
committerJan Kara <[email protected]>2010-03-04 23:20:19 +0000
commit26245c949c8473ea7352907b5a54bc34487eb87f (patch)
tree1b20554c273b42f179f96a8beca9d9314e652847 /fs/jbd/commit.c
parentMerge branch 'for-linus' of git://gitorious.org/linux-omap-dss2/linux (diff)
downloadkernel-26245c949c8473ea7352907b5a54bc34487eb87f.tar.gz
kernel-26245c949c8473ea7352907b5a54bc34487eb87f.zip
quota: Cleanup S_NOQUOTA handling
Cleanup handling of S_NOQUOTA inode flag and document it a bit. The flag does not have to be set under dqptr_sem. Only functions modifying inode's dquot pointers have to check the flag under dqptr_sem before going forward with the modification. This way we are sure that we cannot add new dquot pointers to the inode which is just becoming a quota file. The good thing about this cleanup is that there are no more places in quota code which enforce i_mutex vs. dqptr_sem lock ordering (in particular that dqptr_sem -> i_mutex of quota file). This should silence some (false) lockdep warnings with ext4 + quota and generally make life of some filesystems easier. Signed-off-by: Jan Kara <[email protected]>
Diffstat (limited to 'fs/jbd/commit.c')
0 files changed, 0 insertions, 0 deletions