]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Fri, 10 Aug 2012 10:03:42 +0000 (11:03 +0100)
commit711d831dfed2223a3f0a1d91daafc3c1fcaa4127
tree37a4bf5c0d518f2a929d8b36dd14a614bb3a5270
parent5ebeb16ea606f6d740606b2beff0613fb34fae31
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