]> git.baikalelectronics.ru Git - kernel.git/commit
GFS2: Fix rgrp end rounding problem for bsize < page size
authorBob Peterson <rpeterso@redhat.com>
Wed, 28 Oct 2015 14:05:31 +0000 (09:05 -0500)
committerBob Peterson <rpeterso@redhat.com>
Mon, 9 Nov 2015 15:38:02 +0000 (09:38 -0600)
commit4761a667c065d6f38670189bc33891138fdcb579
tree50f32f0ae20f76801cfd4393dd0387a712ad1f22
parentc6358c17cd41bb7adc2eb2dc4139cbd449ef1fb5
GFS2: Fix rgrp end rounding problem for bsize < page size

This patch fixes a bug introduced by commit 2ce8207. That patch
tries to map a vm range for resource groups, but the calculation
breaks down when the block size is less than the page size.

Signed-off-by: Bob Peterson <rpeterso@redhat.com>
fs/gfs2/rgrp.c