summaryrefslogtreecommitdiff
path: root/fs/ext3/xattr.c
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2010-01-06 16:20:35 (GMT)
committerJan Kara <jack@suse.cz>2010-03-04 23:20:19 (GMT)
commit26245c949c8473ea7352907b5a54bc34487eb87f (patch)
tree1b20554c273b42f179f96a8beca9d9314e652847 /fs/ext3/xattr.c
parent3a5b27bf6f29574d667230c7e76e4b83fe3014e0 (diff)
downloadlinux-fsl-qoriq-26245c949c8473ea7352907b5a54bc34487eb87f.tar.xz
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 <jack@suse.cz>
Diffstat (limited to 'fs/ext3/xattr.c')
0 files changed, 0 insertions, 0 deletions