OpenCloudOS-Kernel/fs/ufs
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
..
Kconfig fs/Kconfig: move ufs out 2009-01-22 13:16:00 +03:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
balloc.c dquot: cleanup space allocation / freeing routines 2010-03-05 00:20:28 +01:00
cylinder.c drop linux/ufs_fs.h from userspace export and relocate it to fs/ufs/ufs_fs.h 2008-02-08 09:22:39 -08:00
dir.c sanitize const/signedness of ufs a bit 2010-03-03 14:07:57 -05:00
file.c dquot: cleanup dquot initialize routine 2010-03-05 00:20:30 +01:00
ialloc.c dquot: cleanup dquot initialize routine 2010-03-05 00:20:30 +01:00
inode.c ufs: add ufs speciffic ->setattr call 2010-05-21 19:30:40 +02:00
namei.c ufs: add ufs speciffic ->setattr call 2010-05-21 19:30:40 +02:00
super.c fs/ufs: recognize Solaris-specific file system state 2010-03-12 15:52:35 -08:00
swab.h ufs: replace __inline with inline 2008-04-28 08:58:45 -07:00
symlink.c ufs: add ufs speciffic ->setattr call 2010-05-21 19:30:40 +02:00
truncate.c quota: unify quota init condition in setattr 2010-05-21 19:30:45 +02:00
ufs.h ufs: add ufs speciffic ->setattr call 2010-05-21 19:30:40 +02:00
ufs_fs.h ufs: make solaris fsck happy 2010-03-12 15:52:35 -08:00
util.c drop linux/ufs_fs.h from userspace export and relocate it to fs/ufs/ufs_fs.h 2008-02-08 09:22:39 -08:00
util.h ufs: fix parenthesisation in ufs_set_fs_state() 2008-02-23 17:12:13 -08:00