]> Pileus Git - ~andy/linux/commit
target/file: Set is_nonrot attribute
authorAsias He <asias@redhat.com>
Thu, 25 Apr 2013 02:38:11 +0000 (19:38 -0700)
committerNicholas Bellinger <nab@linux-iscsi.org>
Thu, 25 Apr 2013 08:05:25 +0000 (01:05 -0700)
commit0463a3fefda4cf0591edc685d4fb215a33315e01
treec29245da85b2a39428997c88888630c3f64ca0ce
parent86d7182985d25900929adce14fffd729cc8c6fb8
target/file: Set is_nonrot attribute

Set is_nonrot attribute according to the block queue if the backend
device is a block device.

Signed-off-by: Asias He <asias@redhat.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_file.c