Skip to content
Commit 54027a49 authored by Darrick J. Wong's avatar Darrick J. Wong
Browse files

xfs: fix uninitialized variable in xfs_attr3_leaf_inactive

Dan Carpenter pointed out that error is uninitialized.  While there
never should be an attr leaf block with zero entries, let's not leave
that logic bomb there.

Fixes: 0bb9d159

 ("xfs: streamline xfs_attr3_leaf_inactive")
Reported-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarDarrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: default avatarAllison Collins <allison.henderson@oracle.com>
Reviewed-by: default avatarEric Sandeen <sandeen@redhat.com>
parent aa124436
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment