aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/fs/xfs/libxfs/xfs_inode_fork.c
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2021-03-22 09:51:51 -0700
committerDarrick J. Wong <djwong@kernel.org>2021-03-25 16:47:49 -0700
commit1aa26707ebd65e1260f4a912cae1fb4c37cc4ebd (patch)
tree506834debac44eb4611e16a53d806f431a5f9d33 /fs/xfs/libxfs/xfs_inode_fork.c
parentxfs: drop freeze protection when running GETFSMAP (diff)
downloadwireguard-linux-1aa26707ebd65e1260f4a912cae1fb4c37cc4ebd.tar.xz
wireguard-linux-1aa26707ebd65e1260f4a912cae1fb4c37cc4ebd.zip
xfs: fix uninitialized variables in xrep_calc_ag_resblks
If we can't read the AGF header, we never actually set a value for freelen and usedlen. These two variables are used to make the worst case estimate of btree size, so it's safe to set them to the AG size as a fallback. Signed-off-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/xfs/libxfs/xfs_inode_fork.c')
0 files changed, 0 insertions, 0 deletions