diff options
author | Alasdair G Kergon | 2006-02-01 12:04:55 +0100 |
---|---|---|
committer | Linus Torvalds | 2006-02-01 17:53:11 +0100 |
commit | 3ee247ebce93a526f482d6bc714ce796fa85a81a (patch) | |
tree | 7e796c3a2cb37aa5be802783fae23e8d0636caab /include | |
parent | [PATCH] device-mapper snapshot: barriers not supported (diff) | |
download | kernel-qcow2-linux-3ee247ebce93a526f482d6bc714ce796fa85a81a.tar.gz kernel-qcow2-linux-3ee247ebce93a526f482d6bc714ce796fa85a81a.tar.xz kernel-qcow2-linux-3ee247ebce93a526f482d6bc714ce796fa85a81a.zip |
[PATCH] dm: dm-table warning fix
drivers/md/dm-table.c:500: warning: comparison of distinct pointer types lacks a cast
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/device-mapper.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/device-mapper.h b/include/linux/device-mapper.h index 83c7d207b80e..51e0e95a421a 100644 --- a/include/linux/device-mapper.h +++ b/include/linux/device-mapper.h @@ -91,7 +91,7 @@ struct target_type { }; struct io_restrictions { - unsigned short max_sectors; + unsigned int max_sectors; unsigned short max_phys_segments; unsigned short max_hw_segments; unsigned short hardsect_size; |