commit | edbb79df6731bb1e99c15f5a519a864d488f4808 | [log] [tgz] |
---|---|---|
author | NeilBrown <neilb@suse.de> | Tue May 22 13:55:13 2012 +1000 |
committer | NeilBrown <neilb@suse.de> | Tue May 22 13:55:13 2012 +1000 |
tree | 3f2cff223d63a8ec5be507fb991cea083c2b8c7a | |
parent | bc9891a8853842a19c33dda0ba02fbacf7da067f [diff] |
md/bitmap: remove bitmap_mask_state This function isn't really needed. It sets or clears a flag in both bitmap->flags and sb->state. However both times it is called, bitmap_update_sb is called soon afterwards which copies bitmap->flags to sb->state. So just make changes to bitmap->flags, and open-code those rather than hiding in a function. Signed-off-by: NeilBrown <neilb@suse.de>