commit | 1df05483d758ea43abc375869fbe06be506ba827 | [log] [tgz] |
---|---|---|
author | Mikulas Patocka <mpatocka@redhat.com> | Fri Jul 27 15:08:00 2012 +0100 |
committer | Alasdair G Kergon <agk@redhat.com> | Fri Jul 27 15:08:00 2012 +0100 |
tree | 230f9e574467fbe34cb5a96120b9466bbc27d5f8 | |
parent | f14fa693c93078444b5e95d7cad78ead0383ad50 [diff] |
dm stripe: remove stripes_mask The structure stripe_c contains a stripes_mask field. This field is useless because it can be trivially calculated by subtracting one from stripes. It is used only at one place. This patch removes it. The patch also changes ffs(stripes) - 1 to __ffs(stripes). Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Signed-off-by: Alasdair G Kergon <agk@redhat.com>