tmp_suning_uos_patched/fs/quota
Tahsin Erdogan b8cb5a545c ext4: fix quota charging for shared xattr blocks
ext4_xattr_block_set() calls dquot_alloc_block() to charge for an xattr
block when new references are made. However if dquot_initialize() hasn't
been called on an inode, request for charging is effectively ignored
because ext4_inode_info->i_dquot is not initialized yet.

Add dquot_initialize() to call paths that lead to ext4_xattr_block_set().

Signed-off-by: Tahsin Erdogan <tahsin@google.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Jan Kara <jack@suse.cz>
2017-05-24 18:24:07 -04:00
..
compat.c
dquot.c ext4: fix quota charging for shared xattr blocks 2017-05-24 18:24:07 -04:00
Kconfig
kqid.c
Makefile
netlink.c
quota_tree.c
quota_tree.h
quota_v1.c
quota_v2.c
quota.c Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs 2016-12-19 08:23:53 -08:00
quotaio_v1.h
quotaio_v2.h