diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2020-01-23 07:54:09 -0800 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2020-01-23 16:11:32 -0800 |
commit | 54027a49938bbee1af62fad191139b14d4ee5cd2 (patch) | |
tree | 7d50ffbb74f8f72f670326ea9a6752f257b4cd2c /fs/xfs/xfs_inode.c | |
parent | aa124436f329cc23e88ce67c81b5f6b7f4930529 (diff) | |
download | linux-stable-54027a49938bbee1af62fad191139b14d4ee5cd2.tar.gz linux-stable-54027a49938bbee1af62fad191139b14d4ee5cd2.tar.bz2 linux-stable-54027a49938bbee1af62fad191139b14d4ee5cd2.zip |
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: 0bb9d159bd01 ("xfs: streamline xfs_attr3_leaf_inactive")
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Allison Collins <allison.henderson@oracle.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Diffstat (limited to 'fs/xfs/xfs_inode.c')
0 files changed, 0 insertions, 0 deletions