X-Git-Url: http://www.pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=net%2Fsocket.c;h=91d0c0254ffe7113e98e90a24bd7a824424e9a7f;hb=6ac206c85233eb89533647f5fdc5ebe07320c5e5;hp=af0205ff56f2ad3e8ed7f4edfff722291d763f34;hpb=2c9e15a011c55ff96b2b8d2b126d1b9a96abba20;p=linux-2.6-omap-h63xx.git diff --git a/net/socket.c b/net/socket.c index af0205ff56f..91d0c0254ff 100644 --- a/net/socket.c +++ b/net/socket.c @@ -328,7 +328,7 @@ static char *sockfs_dname(struct dentry *dentry, char *buffer, int buflen) dentry->d_inode->i_ino); } -static struct dentry_operations sockfs_dentry_operations = { +static const struct dentry_operations sockfs_dentry_operations = { .d_delete = sockfs_delete_dentry, .d_dname = sockfs_dname, }; @@ -1536,8 +1536,6 @@ SYSCALL_DEFINE4(accept4, int, fd, struct sockaddr __user *, upeer_sockaddr, fd_install(newfd, newfile); err = newfd; - security_socket_post_accept(sock, newsock); - out_put: fput_light(sock->file, fput_needed); out: