linux_dsm_epyc7002/fs/quota
Dmitry Monakhov 12755627bd quota: unify quota init condition in setattr
Quota must being initialized if size or uid/git changes requested.
But initialization performed in two different places:
in case of i_size file system is responsible for dquot init
, but in case of uid/gid init will be called internally in
dquot_transfer().
This ambiguity makes code harder to understand.
Let's move this logic to one common helper function.

Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org>
Signed-off-by: Jan Kara <jack@suse.cz>
2010-05-21 19:30:45 +02:00
..
compat.c quota: split out compat_sys_quotactl support from quota.c 2010-03-05 00:20:25 +01:00
dquot.c quota: unify quota init condition in setattr 2010-05-21 19:30:45 +02: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 quota: Make quota stat accounting lockless. 2010-05-21 19:30:41 +02:00
quota_tree.h quota: Move quota files into separate directory 2009-03-26 02:18:35 +01:00
quota_v1.c quota: Make quota stat accounting lockless. 2010-05-21 19:30:41 +02:00
quota_v2.c quota: Improve checking of quota file header 2009-12-23 13:44:13 +01:00
quota.c quota: remove sb_has_quota_active in get/set_info 2010-05-21 19:30:45 +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