summaryrefslogtreecommitdiffstats
path: root/include/linux/file.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2009-08-06 02:02:43 +0400
committerAl Viro <viro@zeniv.linux.org.uk>2009-12-16 12:16:41 -0500
commit6b18662e239a032f908b7f6e164bdf7e2e0a32c9 (patch)
treeb63bf63d7d2b0d0fac2529a3c3bd906f85388c79 /include/linux/file.h
parent7cbe66b6b53b6615f1033bd5b3dbad8162886373 (diff)
downloadop-kernel-dev-6b18662e239a032f908b7f6e164bdf7e2e0a32c9.zip
op-kernel-dev-6b18662e239a032f908b7f6e164bdf7e2e0a32c9.tar.gz
9p connect fixes
* if we fail in p9_conn_create(), we shouldn't leak references to struct file. Logics in ->close() doesn't help - ->trans is already gone by the time it's called. * sock_create_kern() can fail. * use of sock_map_fd() is all fscked up; I'd fixed most of that, but the rest will have to wait for a bit more work in net/socket.c (we still are violating the basic rule of working with descriptor table: "once the reference is installed there, don't rely on finding it there again"). Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/file.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud