GFS2: Eliminate unnecessary check for state > 3 in bitfit
authorBob Peterson <rpeterso@redhat.com>
Thu, 9 Aug 2012 17:48:47 +0000 (12:48 -0500)
committerSteven Whitehouse <swhiteho@redhat.com>
Mon, 24 Sep 2012 09:47:13 +0000 (10:47 +0100)
commit29c05b205d4d30248982d5167bb142146db89bd3
treee493343c094102b541baade2fff0a09ee6e5c482
parente5dc76b9afcfb936818261d65f6f9e1f2c346d59
GFS2: Eliminate unnecessary check for state > 3 in bitfit

Function gfs2_bitfit was checking for state > 3, but that's
impossible since it is only called from rgblk_search, which receives
only GFS2_BLKST_ constants.

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