projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mm: Fix virt_to_page() warning
[firefly-linux-kernel-4.4.55.git]
/
net
/
compat.c
diff --git
a/net/compat.c
b/net/compat.c
index 74ed1d7a84a2ead7fe68e4c4e9c8ae1129490f3c..79ae884850015a99a1e43c4b2fc228670c3779b9 100644
(file)
--- a/
net/compat.c
+++ b/
net/compat.c
@@
-301,8
+301,7
@@
void scm_detach_fds_compat(struct msghdr *kmsg, struct scm_cookie *scm)
break;
}
/* Bump the usage count and install the file. */
- get_file(fp[i]);
- fd_install(new_fd, fp[i]);
+ fd_install(new_fd, get_file(fp[i]));
}
if (i > 0) {