linux/block
Xiaotian Feng 9cb308ce8d block: sysfs fix mismatched queue_var_{store,show} in 64bit kernel
In blk-sysfs.c, queue_var_store uses unsigned long to store data,
but queue_var_show uses unsigned int to show data.  This causes,

	# echo 70000000000 > /sys/block/<dev>/queue/read_ahead_kb
	# cat /sys/block/<dev>/queue/read_ahead_kb => get wrong value

Fix it by using unsigned long.

While at it, convert queue_rq_affinity_show() such that it uses bool
variable instead of explicit != 0 testing.

Signed-off-by: Xiaotian Feng <dfeng@redhat.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
2009-07-17 16:54:15 +09:00
..
as-iosched.c
blk-barrier.c
blk-core.c blocK: Restore barrier support for md and probably other virtual devices. 2009-07-01 10:56:26 +02:00
blk-exec.c
blk-integrity.c
blk-ioc.c
blk-map.c
blk-merge.c block: don't merge requests of different failfast settings 2009-07-03 21:06:45 +02:00
blk-settings.c Fix kernel-doc parameter name typo in blk-settings.c: 2009-06-19 09:18:32 +02:00
blk-softirq.c
blk-sysfs.c block: sysfs fix mismatched queue_var_{store,show} in 64bit kernel 2009-07-17 16:54:15 +09:00
blk-tag.c
blk-timeout.c
blk.h
bsg.c block: get rid of queue-private command filter 2009-07-01 10:56:26 +02:00
cfq-iosched.c cfq-iosched: reset oom_cfqq in cfq_set_request() 2009-07-10 20:31:54 +02:00
compat_ioctl.c
deadline-iosched.c
elevator.c block: fix failfast merge testing in elv_rq_merge_ok() 2009-07-17 14:50:43 +09:00
genhd.c
ioctl.c
Kconfig block: rename CONFIG_LBD to CONFIG_LBDAF 2009-06-19 08:08:50 +02:00
Kconfig.iosched
Makefile block: get rid of queue-private command filter 2009-07-01 10:56:26 +02:00
noop-iosched.c
scsi_ioctl.c block: call blk_scsi_ioctl_init() 2009-07-10 20:31:53 +02:00