commit | 83d230eb5c638949350f4761acdfc0af5cb1bc00 | [log] [tgz] |
---|---|---|
author | Darrick J. Wong <darrick.wong@oracle.com> | Mon Jan 23 19:43:00 2017 -0800 |
committer | Darrick J. Wong <darrick.wong@oracle.com> | Tue Jan 24 12:23:33 2017 -0800 |
tree | de880020e9e8b7a7902e1a8b57711644c25f97b4 | |
parent | d2b3964a0780d2d2994eba57f950d6c9fe489ed8 [diff] |
xfs: verify dirblocklog correctly sb_dirblklog is added to sb_blocklog to compute the directory block size in bytes. Therefore, we must compare the sum of both those values against XFS_MAX_BLOCKSIZE_LOG, not just dirblklog. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Eric Sandeen <sandeen@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de>