tmp_suning_uos_patched/fs/quota
Al Viro a4ffdde6e5 simplify checks for I_CLEAR/I_FREEING
add I_CLEAR instead of replacing I_FREEING with it.  I_CLEAR is
equivalent to I_FREEING for almost all code looking at either;
it's there to keep track of having called clear_inode() exactly
once per inode lifetime, at some point after having set I_FREEING.
I_CLEAR and I_FREEING never get set at the same time with the
current code, so we can switch to setting i_flags to I_FREEING | I_CLEAR
instead of I_CLEAR without loss of information.  As the result of
such change, checks become simpler and the amount of code that needs
to know about I_CLEAR shrinks a lot.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2010-08-09 16:47:44 -04:00
..
compat.c quota: split out compat_sys_quotactl support from quota.c 2010-03-05 00:20:25 +01:00
dquot.c simplify checks for I_CLEAR/I_FREEING 2010-08-09 16:47:44 -04:00
Kconfig quota: Convert __DQUOT_PARANOIA symbol to standard config option 2010-04-20 18:25:25 +02:00
Makefile quota: split out compat_sys_quotactl support from quota.c 2010-03-05 00:20:25 +01:00
netlink.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
quota_tree.c dquot: Detect partial write error to quota file in write_blk() and add printk_ratelimit for quota error messages 2010-05-21 19:30:49 +02:00
quota_tree.h dquot: Detect partial write error to quota file in write_blk() and add printk_ratelimit for quota error messages 2010-05-21 19:30:49 +02:00
quota_v1.c quota: Make quota stat accounting lockless. 2010-05-21 19:30:41 +02:00
quota_v2.c dquot: Detect partial write error to quota file in write_blk() and add printk_ratelimit for quota error messages 2010-05-21 19:30:49 +02:00
quota.c quota: drop remount argument to ->quota_on and ->quota_off 2010-05-24 14:09:12 +02:00
quotaio_v1.h quota: Move quota files into separate directory 2009-03-26 02:18:35 +01:00
quotaio_v2.h quota: Implement quota format with 64-bit space and inode limits 2009-12-10 15:02:54 +01:00