diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2016-10-20 15:46:18 +1100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-11-10 16:36:32 +0100 |
commit | fd9e4cea96df8dc759ce32fb5d1677d781caf244 (patch) | |
tree | f3ebb1f5c07c073ca4cebc6f1a5284ac6cd128e0 /mm/zsmalloc.c | |
parent | 0daca12d6774e2f035d6c1368464e32fd33f1174 (diff) | |
download | linux-stable-fd9e4cea96df8dc759ce32fb5d1677d781caf244.tar.gz linux-stable-fd9e4cea96df8dc759ce32fb5d1677d781caf244.tar.bz2 linux-stable-fd9e4cea96df8dc759ce32fb5d1677d781caf244.zip |
libxfs: clean up _calc_dquots_per_chunk
commit 58d789678546d46d7bbd809dd7dab417c0f23655 upstream.
The function xfs_calc_dquots_per_chunk takes a parameter in units
of basic blocks. The kernel seems to get the units wrong, but
userspace got 'fixed' by commenting out the unnecessary conversion.
Fix both.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'mm/zsmalloc.c')
0 files changed, 0 insertions, 0 deletions