diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2017-02-02 07:56:07 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-02-04 08:47:12 (GMT) |
commit | 29094164ea999bfc48ef48780c1ae057afaafcb1 (patch) | |
tree | 74cf60748620a56bba5c5c936c2a078b423a2acd /sound/pcmcia | |
parent | 214d55efa25557ca4d023c4001d798b7d360cd8b (diff) | |
download | linux-29094164ea999bfc48ef48780c1ae057afaafcb1.tar.xz |
xfs: verify dirblocklog correctly
commit 83d230eb5c638949350f4761acdfc0af5cb1bc00 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound/pcmcia')
0 files changed, 0 insertions, 0 deletions