commit | 78ab125e63115a7f42d598a2113cd75092a40335 | [log] [tgz] |
---|---|---|
author | Oleg Drokin <green@linuxhacker.ru> | Sun Mar 27 12:05:03 2016 -0400 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Mar 29 12:08:45 2016 -0700 |
tree | 1cfb6bd48631a301815ce79f84dbc54f958d0f54 | |
parent | 1bc55f796a9872208e19b57fd00f4c484be35318 [diff] |
staging/lustre/libcfs: Copy correct amount in libcfs_ioctl_getdata Commit b8ff756bc351 ("staging: lustre: libcfs: merge code from libcfs_ioctl into libcfs_ioctl_getdata") introduced a problem copying just a single pointer worth of data from userspace instead of whole libcfs_ioctl_hdr structure. Adjust the copying amount. Signed-off-by: Oleg Drokin <green@linuxhacker.ru> Acked-by: James Simmons <jsimmons@infradead.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>