/* If the EXT3_FEATURE_COMPAT_EXT_ATTR feature of this file system is not set, set it.  */
static void ext3_xattr_update_super_block(handle_t *handle, struct super_block *sb)
/* If the EXT3_FEATURE_COMPAT_EXT_ATTR feature of this file system is not set, set it.  */
static void ext3_xattr_update_super_block(handle_t *handle, struct super_block *sb)
{
	if (EXT3_HAS_COMPAT_FEATURE(sb, EXT3_FEATURE_COMPAT_EXT_ATTR))
		return;
	if (ext3_journal_get_write_access(handle, EXT3_SB(sb)->s_sbh) == 0) {
		EXT3_SET_COMPAT_FEATURE(sb, EXT3_FEATURE_COMPAT_EXT_ATTR);
		ext3_journal_dirty_metadata(handle, EXT3_SB(sb)->s_sbh);
	}
}