projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
make get_file() return its argument
[deliverable/linux.git]
/
net
/
core
/
scm.c
diff --git
a/net/core/scm.c
b/net/core/scm.c
index 040cebeed45b810cf9dd7d85c6ac2cbade98ee77..b0098d259233e3c48f098095435b7bbe7b68c5e3 100644
(file)
--- a/
net/core/scm.c
+++ b/
net/core/scm.c
@@
-281,11
+281,10
@@
void scm_detach_fds(struct msghdr *msg, struct scm_cookie *scm)
break;
}
/* Bump the usage count and install the file. */
- get_file(fp[i]);
sock = sock_from_file(fp[i], &err);
if (sock)
sock_update_netprioidx(sock->sk, current);
- fd_install(new_fd,
fp[i]
);
+ fd_install(new_fd,
get_file(fp[i])
);
}
if (i > 0)
This page took
0.026608 seconds
and
5
git commands to generate.