Ext2: mark inode dirty after the function dquot_free_block_nodirty is called
authorWang Shilong <wangsl-fnst@cn.fujitsu.com>
Thu, 7 Feb 2013 14:57:53 +0000 (22:57 +0800)
committerJan Kara <jack@suse.cz>
Thu, 7 Feb 2013 15:44:55 +0000 (16:44 +0100)
commit8e3dffc651cb668e1ff4d8b89cc1c3dde7540d3b
treed2cfcb7be0d255f28c5e793856876449934606bb
parent98783e453c1084527388ec1a7f6367cd6aabbe63
Ext2: mark inode dirty after the function dquot_free_block_nodirty is called

We should mark inode dirty after the function dquot_free_block_nodirty
is called.Besides,add a check whether it is necessary to call
dquot_free_block_nodirty functon.

Signed-off-by: Wang Shilong <wangsl-fnst@cn.fujitsu.com>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/ext2/balloc.c