block: Remove extra discard_alignment from hd_struct.
authorTao Ma <boyu.mt@taobao.com>
Sat, 7 May 2011 01:30:02 +0000 (19:30 -0600)
committerJens Axboe <jaxboe@fusionio.com>
Sat, 7 May 2011 01:30:02 +0000 (19:30 -0600)
Currently, hd_struct.discard_alignment is only used when we
show /sys/block/sdx/sdx/discard_alignment. So remove it and
calculate when it is asked to show.

Signed-off-by: Tao Ma <boyu.mt@taobao.com>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>

No differences found