Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
f87be894
Commit
f87be894
authored
Dec 31, 2017
by
Christoph Hellwig
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
net/iucv: convert to ->poll_mask
Signed-off-by:
Christoph Hellwig
<
hch@lst.de
>
parent
e7a98d47
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
7 deletions
+2
-7
include/net/iucv/af_iucv.h
include/net/iucv/af_iucv.h
+0
-2
net/iucv/af_iucv.c
net/iucv/af_iucv.c
+2
-5
No files found.
include/net/iucv/af_iucv.h
View file @
f87be894
...
@@ -153,8 +153,6 @@ struct iucv_sock_list {
...
@@ -153,8 +153,6 @@ struct iucv_sock_list {
atomic_t
autobind_name
;
atomic_t
autobind_name
;
};
};
__poll_t
iucv_sock_poll
(
struct
file
*
file
,
struct
socket
*
sock
,
poll_table
*
wait
);
void
iucv_sock_link
(
struct
iucv_sock_list
*
l
,
struct
sock
*
s
);
void
iucv_sock_link
(
struct
iucv_sock_list
*
l
,
struct
sock
*
s
);
void
iucv_sock_unlink
(
struct
iucv_sock_list
*
l
,
struct
sock
*
s
);
void
iucv_sock_unlink
(
struct
iucv_sock_list
*
l
,
struct
sock
*
s
);
void
iucv_accept_enqueue
(
struct
sock
*
parent
,
struct
sock
*
sk
);
void
iucv_accept_enqueue
(
struct
sock
*
parent
,
struct
sock
*
sk
);
...
...
net/iucv/af_iucv.c
View file @
f87be894
...
@@ -1488,14 +1488,11 @@ static inline __poll_t iucv_accept_poll(struct sock *parent)
...
@@ -1488,14 +1488,11 @@ static inline __poll_t iucv_accept_poll(struct sock *parent)
return
0
;
return
0
;
}
}
__poll_t
iucv_sock_poll
(
struct
file
*
file
,
struct
socket
*
sock
,
static
__poll_t
iucv_sock_poll_mask
(
struct
socket
*
sock
,
__poll_t
events
)
poll_table
*
wait
)
{
{
struct
sock
*
sk
=
sock
->
sk
;
struct
sock
*
sk
=
sock
->
sk
;
__poll_t
mask
=
0
;
__poll_t
mask
=
0
;
sock_poll_wait
(
file
,
sk_sleep
(
sk
),
wait
);
if
(
sk
->
sk_state
==
IUCV_LISTEN
)
if
(
sk
->
sk_state
==
IUCV_LISTEN
)
return
iucv_accept_poll
(
sk
);
return
iucv_accept_poll
(
sk
);
...
@@ -2388,7 +2385,7 @@ static const struct proto_ops iucv_sock_ops = {
...
@@ -2388,7 +2385,7 @@ static const struct proto_ops iucv_sock_ops = {
.
getname
=
iucv_sock_getname
,
.
getname
=
iucv_sock_getname
,
.
sendmsg
=
iucv_sock_sendmsg
,
.
sendmsg
=
iucv_sock_sendmsg
,
.
recvmsg
=
iucv_sock_recvmsg
,
.
recvmsg
=
iucv_sock_recvmsg
,
.
poll
=
iucv_sock_poll
,
.
poll
_mask
=
iucv_sock_poll_mask
,
.
ioctl
=
sock_no_ioctl
,
.
ioctl
=
sock_no_ioctl
,
.
mmap
=
sock_no_mmap
,
.
mmap
=
sock_no_mmap
,
.
socketpair
=
sock_no_socketpair
,
.
socketpair
=
sock_no_socketpair
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment