View | Details | Raw Unified | Return to bug 199347
Collapse All | Expand All

(-)a/fs/ext4/xattr.c (-2 / +1 lines)
Lines 1688-1694 static int ext4_xattr_set_entry(struct ext4_xattr_info *i, Link Here
1688
1688
1689
	/* No failures allowed past this point. */
1689
	/* No failures allowed past this point. */
1690
1690
1691
	if (!s->not_found && here->e_value_offs) {
1691
	if (!s->not_found && here->e_value_size && here->e_value_offs) {
1692
		/* Remove the old value. */
1692
		/* Remove the old value. */
1693
		void *first_val = s->base + min_offs;
1693
		void *first_val = s->base + min_offs;
1694
		size_t offs = le16_to_cpu(here->e_value_offs);
1694
		size_t offs = le16_to_cpu(here->e_value_offs);
1695
- 

Return to bug 199347