Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LU-5935 lnet: Fixes to make lnetctl function as expected.
[fs/lustre-release.git]
/
libcfs
/
libcfs
/
linux
/
linux-module.c
diff --git
a/libcfs/libcfs/linux/linux-module.c
b/libcfs/libcfs/linux/linux-module.c
index
f21c6f6
..
7175e44
100644
(file)
--- a/
libcfs/libcfs/linux/linux-module.c
+++ b/
libcfs/libcfs/linux/linux-module.c
@@
-27,7
+27,7
@@
* Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
* Use is subject to license terms.
*
* Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
* Use is subject to license terms.
*
- * Copyright (c) 2012, Intel Corporation.
+ * Copyright (c) 2012,
2014,
Intel Corporation.
*/
/*
* This file is part of Lustre, http://www.lustre.org/
*/
/*
* This file is part of Lustre, http://www.lustre.org/
@@
-76,7
+76,7
@@
int libcfs_ioctl_getdata(struct libcfs_ioctl_hdr **hdr_pp,
RETURN(-EINVAL);
}
RETURN(-EINVAL);
}
- if (hdr.ioc_len < sizeof(struct libcfs_ioctl_
data
)) {
+ if (hdr.ioc_len < sizeof(struct libcfs_ioctl_
hdr
)) {
CERROR("libcfs ioctl: user buffer too small for ioctl\n");
RETURN(-EINVAL);
}
CERROR("libcfs ioctl: user buffer too small for ioctl\n");
RETURN(-EINVAL);
}