Re: [PATCH] ext4: fix __ext4_xattr_set_credits()

From: Theodore Ts'o
Date: Tue Jul 04 2017 - 00:22:47 EST


On Wed, Jun 28, 2017 at 02:47:50PM -0700, Tahsin Erdogan wrote:
> __ext4_xattr_set_credits() calculates journal credits needed for a
> set xattr operation. Currently, credits needed for quota updates are
> added only if ea_inode feature is enabled which is wrong. Fix this by
> moving quota related additions to above ea_inode feature check.
>
> Fixes: 74c5bfa651af ("ext4: xattr inode deduplication")
>
> Signed-off-by: Tahsin Erdogan <tahsin@xxxxxxxxxx>

Thanks, I've folded this into the xattr_inode_deduplication patch.

- Ted