diff options
author | Tim Smith | 2019-03-06 15:00:43 +0100 |
---|---|---|
committer | Bob Peterson | 2019-03-06 15:00:43 +0100 |
commit | 7c03e756b449218b1bddf8e00a12ec7a6be62664 (patch) | |
tree | 01059d4dc4edb41cce2e25c7e4c22c90d47ccf7e /drivers/net/ethernet/microchip | |
parent | gfs: no need to check return value of debugfs_create functions (diff) | |
download | kernel-qcow2-linux-7c03e756b449218b1bddf8e00a12ec7a6be62664.tar.gz kernel-qcow2-linux-7c03e756b449218b1bddf8e00a12ec7a6be62664.tar.xz kernel-qcow2-linux-7c03e756b449218b1bddf8e00a12ec7a6be62664.zip |
gfs2: Fix an incorrect gfs2_assert()
When updating the inode information after a change in allocation,
convert the change into the same units as the inode's i_blocks count
before comparing it in an assertion.
Also, change the comparison so that it is still possible to set i_blocks
to zero by adding -i_blocks, something that was previously only possible
because of the difference in units.
Signed-off-by: Tim Smith <tim.smith@citrix.com>
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Diffstat (limited to 'drivers/net/ethernet/microchip')
0 files changed, 0 insertions, 0 deletions