diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2017-01-03 18:39:33 -0800 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2017-01-03 18:39:33 -0800 |
commit | 20e73b000bcded44a91b79429d8fa743247602ad (patch) | |
tree | f17ee4602050d1c97d03527b97addcbb35b48810 /fs/ocfs2/localalloc.h | |
parent | 7a21272b088894070391a94fdd1c67014020fa1d (diff) | |
download | op-kernel-dev-20e73b000bcded44a91b79429d8fa743247602ad.zip op-kernel-dev-20e73b000bcded44a91b79429d8fa743247602ad.tar.gz |
xfs: use the actual AG length when reserving blocks
We need to use the actual AG length when making per-AG reservations,
since we could otherwise end up reserving more blocks out of the last
AG than there are actual blocks.
Complained-about-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/ocfs2/localalloc.h')
0 files changed, 0 insertions, 0 deletions