diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2020-01-23 16:54:09 +0100 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2020-01-24 01:11:32 +0100 |
commit | 54027a49938bbee1af62fad191139b14d4ee5cd2 (patch) | |
tree | 7d50ffbb74f8f72f670326ea9a6752f257b4cd2c /mm/highmem.c | |
parent | xfs: change return value of xfs_inode_need_cow to int (diff) | |
download | linux-54027a49938bbee1af62fad191139b14d4ee5cd2.tar.xz linux-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 'mm/highmem.c')
0 files changed, 0 insertions, 0 deletions