Please sign in to comment.
xfs: don't fail when converting shortform attr to long form during AT…
…TR_REPLACE Kanda Motohiro reported that expanding a tiny xattr into a large xattr fails on XFS because we remove the tiny xattr from a shortform fork and then try to re-add it after converting the fork to extents format having not removed the ATTR_REPLACE flag. This fails because the attr is no longer present, causing a fs shutdown. This is derived from the patch in his bug report, but we really shouldn't ignore a nonzero retval from the remove call. Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=199119 Reported-by: email@example.com Reviewed-by: Dave Chinner <firstname.lastname@example.org> Reviewed-by: Christoph Hellwig <email@example.com> Signed-off-by: Darrick J. Wong <firstname.lastname@example.org>
- Loading branch information...