]> git.karo-electronics.de Git - karo-tx-linux.git/commit
GFS2: Fix case where reservation finished at end of rgrp
authorSteven Whitehouse <swhiteho@redhat.com>
Tue, 7 Aug 2012 12:47:12 +0000 (13:47 +0100)
committerSteven Whitehouse <swhiteho@redhat.com>
Tue, 7 Aug 2012 12:47:12 +0000 (13:47 +0100)
commit8733e61ea11a05ff5ebadbaf3bae846368b4bd05
tree7d62f4341f40defcf1cd0e32800be272120a61d9
parent4b0fbdd19431f6f57d7fdfa5a7f9f9c9b478ee9f
GFS2: Fix case where reservation finished at end of rgrp

One corner case which the original patch failed to take into
account was when there is a reservation which ended such that
the following block was one beyond the end of the rgrp in
question. This extra test fixes that case.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Reported-by: Bob Peterson <rpeterso@redhat.com>
Tested-by: Bob Peterson <rpeterso@redhat.com>
fs/gfs2/rgrp.c