diff options
author | Tao Ma <boyu.mt@taobao.com> | 2011-05-06 19:30:02 -0600 |
---|---|---|
committer | Jens Axboe <jaxboe@fusionio.com> | 2011-05-06 19:30:02 -0600 |
commit | 23ceb5b7719e9276d4fa72a3ecf94dd396755276 (patch) | |
tree | f0613021d10b9e8464a26a78fcabf48e0f0b715b /include/linux | |
parent | 8af1954d172a46a63e5e79dae523a6d74715e458 (diff) | |
download | linux-3.10-23ceb5b7719e9276d4fa72a3ecf94dd396755276.tar.gz linux-3.10-23ceb5b7719e9276d4fa72a3ecf94dd396755276.tar.bz2 linux-3.10-23ceb5b7719e9276d4fa72a3ecf94dd396755276.zip |
block: Remove extra discard_alignment from hd_struct.
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>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/genhd.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/genhd.h b/include/linux/genhd.h index 300d7582006..b78956b3c2e 100644 --- a/include/linux/genhd.h +++ b/include/linux/genhd.h @@ -100,7 +100,6 @@ struct hd_struct { sector_t start_sect; sector_t nr_sects; sector_t alignment_offset; - unsigned int discard_alignment; struct device __dev; struct kobject *holder_dir; int policy, partno; |