summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_rmap_item.h
diff options
context:
space:
mode:
authorAllison Henderson <allison.henderson@oracle.com>2021-06-25 11:19:58 -0700
committerDarrick J. Wong <djwong@kernel.org>2021-06-25 11:19:58 -0700
commitd3a3340b6af28ab79a66687973fb0287d976d490 (patch)
treec365e134a16d3b2ad4c4e8eae230cb797797e530 /fs/xfs/xfs_rmap_item.h
parenta8f3522c9a1f4a31e93b17f2b5310a2b615f5581 (diff)
downloadlinux-d3a3340b6af28ab79a66687973fb0287d976d490.tar.gz
linux-d3a3340b6af28ab79a66687973fb0287d976d490.tar.bz2
linux-d3a3340b6af28ab79a66687973fb0287d976d490.zip
xfs: Initialize error in xfs_attr_remove_iter
A recent bug report generated a warning that a code path in xfs_attr_remove_iter could potentially return error uninitialized in the case of XFS_DAS_RM_SHRINK state. Fix this by initializing error. Signed-off-by: Allison Henderson <allison.henderson@oracle.com> Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Reviewed-by: Brian Foster <bfoster@redhat.com> Reviewed-by: Bill O'Donnell <bodonnel@redhat.com> Reviewed-by: Darrick J. Wong <djwong@kernel.org> Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'fs/xfs/xfs_rmap_item.h')
0 files changed, 0 insertions, 0 deletions