diff options
author | NeilBrown <neilb@suse.de> | 2012-11-19 13:11:26 +1100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2012-11-20 19:42:56 +1100 |
commit | 4ac6875eeb97a49bad7bc8d56b5ec935904fc6e7 (patch) | |
tree | 3443bf90a75f43f118487bcb822ff5e511ee3e3b /drivers/hwmon/ina2xx.c | |
parent | 5eff3c439d3478ba9e8ba5f8c0aaf6e6fadb6e58 (diff) |
md/raid5: round discard alignment up to power of 2.
blkdev_issue_discard currently assumes that the granularity
is a power of 2. So in raid5, round the chosen number up to
avoid embarrassment.
Cc: Shaohua Li <shli@kernel.org>
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/hwmon/ina2xx.c')
0 files changed, 0 insertions, 0 deletions