aboutsummaryrefslogtreecommitdiffstats
path: root/net/9p
diff options
context:
space:
mode:
Diffstat (limited to 'net/9p')
-rw-r--r--net/9p/trans_fd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/9p/trans_fd.c b/net/9p/trans_fd.c
index 8c4e0b538a8a..15656b8573f3 100644
--- a/net/9p/trans_fd.c
+++ b/net/9p/trans_fd.c
@@ -801,7 +801,7 @@ static int p9_socket_open(struct p9_client *client, struct socket *csocket)
801 return -ENOMEM; 801 return -ENOMEM;
802 802
803 csocket->sk->sk_allocation = GFP_NOIO; 803 csocket->sk->sk_allocation = GFP_NOIO;
804 file = sock_alloc_file(csocket, 0); 804 file = sock_alloc_file(csocket, 0, NULL);
805 if (IS_ERR(file)) { 805 if (IS_ERR(file)) {
806 pr_err("%s (%d): failed to map fd\n", 806 pr_err("%s (%d): failed to map fd\n",
807 __func__, task_pid_nr(current)); 807 __func__, task_pid_nr(current));
@@ -1081,7 +1081,7 @@ int p9_trans_fd_init(void)
1081 1081
1082void p9_trans_fd_exit(void) 1082void p9_trans_fd_exit(void)
1083{ 1083{
1084 flush_work_sync(&p9_poll_work); 1084 flush_work(&p9_poll_work);
1085 v9fs_unregister_trans(&p9_tcp_trans); 1085 v9fs_unregister_trans(&p9_tcp_trans);
1086 v9fs_unregister_trans(&p9_unix_trans); 1086 v9fs_unregister_trans(&p9_unix_trans);
1087 v9fs_unregister_trans(&p9_fd_trans); 1087 v9fs_unregister_trans(&p9_fd_trans);