diff options
author | Bryn Reeves <breeves@redhat.com> | 2006-10-03 04:15:42 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-03 11:04:16 -0400 |
commit | 3cb4021453a69585e458ec2177677c0c1300dccf (patch) | |
tree | cc2394e0eb52d6bed2fbc523641499714d6159c4 /include/linux/device-mapper.h | |
parent | 9faf400f7e51e56ec76b2fc481c3191c01cb3a57 (diff) |
[PATCH] dm: extract device limit setting
Separate the setting of device I/O limits from dm_get_device(). dm-loop will
use this.
Signed-off-by: Bryn Reeves <breeves@redhat.com>
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/linux/device-mapper.h')
-rw-r--r-- | include/linux/device-mapper.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/device-mapper.h b/include/linux/device-mapper.h index 8cbc46b8e3db..7a48d428d0a1 100644 --- a/include/linux/device-mapper.h +++ b/include/linux/device-mapper.h | |||
@@ -72,6 +72,11 @@ typedef int (*dm_ioctl_fn) (struct dm_target *ti, struct inode *inode, | |||
72 | void dm_error(const char *message); | 72 | void dm_error(const char *message); |
73 | 73 | ||
74 | /* | 74 | /* |
75 | * Combine device limits. | ||
76 | */ | ||
77 | void dm_set_device_limits(struct dm_target *ti, struct block_device *bdev); | ||
78 | |||
79 | /* | ||
75 | * Constructors should call these functions to ensure destination devices | 80 | * Constructors should call these functions to ensure destination devices |
76 | * are opened/closed correctly. | 81 | * are opened/closed correctly. |
77 | * FIXME: too many arguments. | 82 | * FIXME: too many arguments. |