diff options
author | WANG Cong <xiyou.wangcong@gmail.com> | 2017-04-13 11:38:02 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-04-17 13:28:48 -0400 |
commit | f5001ceab8996d76880004381c188b3b96c8c7af (patch) | |
tree | 2ffa78ba3e97559ff26084d8cf1e90b9ca8b4475 /init | |
parent | 6b2af241f0766a9d2c01dfa4e5aece433b51ff70 (diff) |
kcm: remove a useless copy_from_user()
struct kcm_clone only contains fd, and kcm_clone() only
writes this struct, so there is no need to copy it from user.
Cc: Tom Herbert <tom@herbertland.com>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions