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
..
2010-04-08 15:35:20 +02:00
2010-03-03 14:07:58 -05:00
2009-09-14 19:13:00 +02:00
2010-04-08 15:35:20 +02:00
2009-01-22 13:15:55 +03:00
2009-09-14 19:13:00 +02:00
2009-06-11 21:36:13 -04:00
2010-04-08 15:35:20 +02:00