Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a3f053
)
The curse of copy-n-paste. Fix compile warnings and maybe code too.
author
adilger
<adilger>
Mon, 21 Oct 2002 21:45:15 +0000
(21:45 +0000)
committer
adilger
<adilger>
Mon, 21 Oct 2002 21:45:15 +0000
(21:45 +0000)
lustre/include/linux/lustre_lib.h
patch
|
blob
|
history
diff --git
a/lustre/include/linux/lustre_lib.h
b/lustre/include/linux/lustre_lib.h
index
9fb8c2f
..
923260d
100644
(file)
--- a/
lustre/include/linux/lustre_lib.h
+++ b/
lustre/include/linux/lustre_lib.h
@@
-336,8
+336,8
@@
static inline int obd_ioctl_unpack(struct obd_ioctl_data *data, char *pbuf,
if (!*pbuf)
return 1;
- overlay = (struct obd_ioctl_data *)
*
pbuf;
- memcpy(data,
*
pbuf, sizeof(*data));
+ overlay = (struct obd_ioctl_data *)pbuf;
+ memcpy(data, pbuf, sizeof(*data));
ptr = overlay->ioc_bulk;
if (data->ioc_inlbuf1)