aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_buf.c
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2020-01-23 07:54:09 -0800
committerDarrick J. Wong <darrick.wong@oracle.com>2020-01-23 16:11:32 -0800
commit54027a49938bbee1af62fad191139b14d4ee5cd2 (patch)
tree7d50ffbb74f8f72f670326ea9a6752f257b4cd2c /fs/xfs/xfs_buf.c
parentxfs: change return value of xfs_inode_need_cow to int (diff)
downloadlinux-dev-54027a49938bbee1af62fad191139b14d4ee5cd2.tar.xz
linux-dev-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_buf.c')
0 files changed, 0 insertions, 0 deletions