diff options
author | viro@ZenIV.linux.org.uk <viro@ZenIV.linux.org.uk> | 2005-09-09 15:36:43 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-09 17:05:54 -0400 |
commit | 87162a28acceda05dadf10a8333183f6d2b55265 (patch) | |
tree | 138d822bbec7623c523db96bae43bc2c4f4a0fda /drivers/md/md.c | |
parent | 01703597ead8194b46932ba2bcda897e872e91e0 (diff) |
[PATCH] trivial __user annotations (md)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/md/md.c')
-rw-r--r-- | drivers/md/md.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/md/md.c b/drivers/md/md.c index 20ca80b7dc2..373ab92e367 100644 --- a/drivers/md/md.c +++ b/drivers/md/md.c | |||
@@ -2087,7 +2087,7 @@ static int get_array_info(mddev_t * mddev, void __user * arg) | |||
2087 | return 0; | 2087 | return 0; |
2088 | } | 2088 | } |
2089 | 2089 | ||
2090 | static int get_bitmap_file(mddev_t * mddev, void * arg) | 2090 | static int get_bitmap_file(mddev_t * mddev, void __user * arg) |
2091 | { | 2091 | { |
2092 | mdu_bitmap_file_t *file = NULL; /* too big for stack allocation */ | 2092 | mdu_bitmap_file_t *file = NULL; /* too big for stack allocation */ |
2093 | char *ptr, *buf = NULL; | 2093 | char *ptr, *buf = NULL; |
@@ -2781,7 +2781,7 @@ static int md_ioctl(struct inode *inode, struct file *file, | |||
2781 | goto done_unlock; | 2781 | goto done_unlock; |
2782 | 2782 | ||
2783 | case GET_BITMAP_FILE: | 2783 | case GET_BITMAP_FILE: |
2784 | err = get_bitmap_file(mddev, (void *)arg); | 2784 | err = get_bitmap_file(mddev, argp); |
2785 | goto done_unlock; | 2785 | goto done_unlock; |
2786 | 2786 | ||
2787 | case GET_DISK_INFO: | 2787 | case GET_DISK_INFO: |