diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/bluetooth/rfcomm/core.c | 4 | ||||
-rw-r--r-- | net/core/dev.c | 5 | ||||
-rw-r--r-- | net/core/skbuff.c | 4 | ||||
-rw-r--r-- | net/core/sock.c | 4 | ||||
-rw-r--r-- | net/sunrpc/clnt.c | 10 | ||||
-rw-r--r-- | net/sunrpc/rpc_pipe.c | 10 | ||||
-rw-r--r-- | net/sunrpc/xprt.c | 2 | ||||
-rw-r--r-- | net/unix/af_unix.c | 26 |
8 files changed, 33 insertions, 32 deletions
diff --git a/net/bluetooth/rfcomm/core.c b/net/bluetooth/rfcomm/core.c index d3e4e1877e6a..0c2c93735e93 100644 --- a/net/bluetooth/rfcomm/core.c +++ b/net/bluetooth/rfcomm/core.c | |||
@@ -465,7 +465,7 @@ int rfcomm_dlc_send(struct rfcomm_dlc *d, struct sk_buff *skb) | |||
465 | return len; | 465 | return len; |
466 | } | 466 | } |
467 | 467 | ||
468 | void fastcall __rfcomm_dlc_throttle(struct rfcomm_dlc *d) | 468 | void __rfcomm_dlc_throttle(struct rfcomm_dlc *d) |
469 | { | 469 | { |
470 | BT_DBG("dlc %p state %ld", d, d->state); | 470 | BT_DBG("dlc %p state %ld", d, d->state); |
471 | 471 | ||
@@ -476,7 +476,7 @@ void fastcall __rfcomm_dlc_throttle(struct rfcomm_dlc *d) | |||
476 | rfcomm_schedule(RFCOMM_SCHED_TX); | 476 | rfcomm_schedule(RFCOMM_SCHED_TX); |
477 | } | 477 | } |
478 | 478 | ||
479 | void fastcall __rfcomm_dlc_unthrottle(struct rfcomm_dlc *d) | 479 | void __rfcomm_dlc_unthrottle(struct rfcomm_dlc *d) |
480 | { | 480 | { |
481 | BT_DBG("dlc %p state %ld", d, d->state); | 481 | BT_DBG("dlc %p state %ld", d, d->state); |
482 | 482 | ||
diff --git a/net/core/dev.c b/net/core/dev.c index 6cfc1238c4a6..908f07c3bd7d 100644 --- a/net/core/dev.c +++ b/net/core/dev.c | |||
@@ -2143,7 +2143,7 @@ static int process_backlog(struct napi_struct *napi, int quota) | |||
2143 | * | 2143 | * |
2144 | * The entry's receive function will be scheduled to run | 2144 | * The entry's receive function will be scheduled to run |
2145 | */ | 2145 | */ |
2146 | void fastcall __napi_schedule(struct napi_struct *n) | 2146 | void __napi_schedule(struct napi_struct *n) |
2147 | { | 2147 | { |
2148 | unsigned long flags; | 2148 | unsigned long flags; |
2149 | 2149 | ||
@@ -3038,8 +3038,7 @@ int dev_unicast_sync(struct net_device *to, struct net_device *from) | |||
3038 | EXPORT_SYMBOL(dev_unicast_sync); | 3038 | EXPORT_SYMBOL(dev_unicast_sync); |
3039 | 3039 | ||
3040 | /** | 3040 | /** |
3041 | * dev_unicast_unsync - Remove synchronized addresses from the destination | 3041 | * dev_unicast_unsync - Remove synchronized addresses from the destination device |
3042 | * device | ||
3043 | * @to: destination device | 3042 | * @to: destination device |
3044 | * @from: source device | 3043 | * @from: source device |
3045 | * | 3044 | * |
diff --git a/net/core/skbuff.c b/net/core/skbuff.c index 40dddcc6dc32..0d0fd28a9041 100644 --- a/net/core/skbuff.c +++ b/net/core/skbuff.c | |||
@@ -1907,11 +1907,11 @@ void skb_prepare_seq_read(struct sk_buff *skb, unsigned int from, | |||
1907 | * of bytes already consumed and the next call to | 1907 | * of bytes already consumed and the next call to |
1908 | * skb_seq_read() will return the remaining part of the block. | 1908 | * skb_seq_read() will return the remaining part of the block. |
1909 | * | 1909 | * |
1910 | * Note: The size of each block of data returned can be arbitary, | 1910 | * Note 1: The size of each block of data returned can be arbitary, |
1911 | * this limitation is the cost for zerocopy seqeuental | 1911 | * this limitation is the cost for zerocopy seqeuental |
1912 | * reads of potentially non linear data. | 1912 | * reads of potentially non linear data. |
1913 | * | 1913 | * |
1914 | * Note: Fragment lists within fragments are not implemented | 1914 | * Note 2: Fragment lists within fragments are not implemented |
1915 | * at the moment, state->root_skb could be replaced with | 1915 | * at the moment, state->root_skb could be replaced with |
1916 | * a stack for this purpose. | 1916 | * a stack for this purpose. |
1917 | */ | 1917 | */ |
diff --git a/net/core/sock.c b/net/core/sock.c index 433715fb141a..09cb3a74de7f 100644 --- a/net/core/sock.c +++ b/net/core/sock.c | |||
@@ -1731,7 +1731,7 @@ void sock_init_data(struct socket *sock, struct sock *sk) | |||
1731 | atomic_set(&sk->sk_drops, 0); | 1731 | atomic_set(&sk->sk_drops, 0); |
1732 | } | 1732 | } |
1733 | 1733 | ||
1734 | void fastcall lock_sock_nested(struct sock *sk, int subclass) | 1734 | void lock_sock_nested(struct sock *sk, int subclass) |
1735 | { | 1735 | { |
1736 | might_sleep(); | 1736 | might_sleep(); |
1737 | spin_lock_bh(&sk->sk_lock.slock); | 1737 | spin_lock_bh(&sk->sk_lock.slock); |
@@ -1748,7 +1748,7 @@ void fastcall lock_sock_nested(struct sock *sk, int subclass) | |||
1748 | 1748 | ||
1749 | EXPORT_SYMBOL(lock_sock_nested); | 1749 | EXPORT_SYMBOL(lock_sock_nested); |
1750 | 1750 | ||
1751 | void fastcall release_sock(struct sock *sk) | 1751 | void release_sock(struct sock *sk) |
1752 | { | 1752 | { |
1753 | /* | 1753 | /* |
1754 | * The sk_lock has mutex_unlock() semantics: | 1754 | * The sk_lock has mutex_unlock() semantics: |
diff --git a/net/sunrpc/clnt.c b/net/sunrpc/clnt.c index 0998e6d09664..8c6a7f1a25e9 100644 --- a/net/sunrpc/clnt.c +++ b/net/sunrpc/clnt.c | |||
@@ -464,9 +464,9 @@ rpc_release_client(struct rpc_clnt *clnt) | |||
464 | 464 | ||
465 | /** | 465 | /** |
466 | * rpc_bind_new_program - bind a new RPC program to an existing client | 466 | * rpc_bind_new_program - bind a new RPC program to an existing client |
467 | * @old - old rpc_client | 467 | * @old: old rpc_client |
468 | * @program - rpc program to set | 468 | * @program: rpc program to set |
469 | * @vers - rpc program version | 469 | * @vers: rpc program version |
470 | * | 470 | * |
471 | * Clones the rpc client and sets up a new RPC program. This is mainly | 471 | * Clones the rpc client and sets up a new RPC program. This is mainly |
472 | * of use for enabling different RPC programs to share the same transport. | 472 | * of use for enabling different RPC programs to share the same transport. |
@@ -575,7 +575,7 @@ EXPORT_SYMBOL_GPL(rpc_call_sync); | |||
575 | * @clnt: pointer to RPC client | 575 | * @clnt: pointer to RPC client |
576 | * @msg: RPC call parameters | 576 | * @msg: RPC call parameters |
577 | * @flags: RPC call flags | 577 | * @flags: RPC call flags |
578 | * @ops: RPC call ops | 578 | * @tk_ops: RPC call ops |
579 | * @data: user call data | 579 | * @data: user call data |
580 | */ | 580 | */ |
581 | int | 581 | int |
@@ -610,7 +610,7 @@ EXPORT_SYMBOL_GPL(rpc_call_start); | |||
610 | * rpc_peeraddr - extract remote peer address from clnt's xprt | 610 | * rpc_peeraddr - extract remote peer address from clnt's xprt |
611 | * @clnt: RPC client structure | 611 | * @clnt: RPC client structure |
612 | * @buf: target buffer | 612 | * @buf: target buffer |
613 | * @size: length of target buffer | 613 | * @bufsize: length of target buffer |
614 | * | 614 | * |
615 | * Returns the number of bytes that are actually in the stored address. | 615 | * Returns the number of bytes that are actually in the stored address. |
616 | */ | 616 | */ |
diff --git a/net/sunrpc/rpc_pipe.c b/net/sunrpc/rpc_pipe.c index 7e197168a245..1b395a41a8b2 100644 --- a/net/sunrpc/rpc_pipe.c +++ b/net/sunrpc/rpc_pipe.c | |||
@@ -495,7 +495,7 @@ rpc_lookup_parent(char *path, struct nameidata *nd) | |||
495 | static void | 495 | static void |
496 | rpc_release_path(struct nameidata *nd) | 496 | rpc_release_path(struct nameidata *nd) |
497 | { | 497 | { |
498 | path_release(nd); | 498 | path_put(&nd->path); |
499 | rpc_put_mount(); | 499 | rpc_put_mount(); |
500 | } | 500 | } |
501 | 501 | ||
@@ -668,7 +668,8 @@ rpc_lookup_negative(char *path, struct nameidata *nd) | |||
668 | 668 | ||
669 | if ((error = rpc_lookup_parent(path, nd)) != 0) | 669 | if ((error = rpc_lookup_parent(path, nd)) != 0) |
670 | return ERR_PTR(error); | 670 | return ERR_PTR(error); |
671 | dentry = rpc_lookup_create(nd->dentry, nd->last.name, nd->last.len, 1); | 671 | dentry = rpc_lookup_create(nd->path.dentry, nd->last.name, nd->last.len, |
672 | 1); | ||
672 | if (IS_ERR(dentry)) | 673 | if (IS_ERR(dentry)) |
673 | rpc_release_path(nd); | 674 | rpc_release_path(nd); |
674 | return dentry; | 675 | return dentry; |
@@ -677,7 +678,7 @@ rpc_lookup_negative(char *path, struct nameidata *nd) | |||
677 | /** | 678 | /** |
678 | * rpc_mkdir - Create a new directory in rpc_pipefs | 679 | * rpc_mkdir - Create a new directory in rpc_pipefs |
679 | * @path: path from the rpc_pipefs root to the new directory | 680 | * @path: path from the rpc_pipefs root to the new directory |
680 | * @rpc_clnt: rpc client to associate with this directory | 681 | * @rpc_client: rpc client to associate with this directory |
681 | * | 682 | * |
682 | * This creates a directory at the given @path associated with | 683 | * This creates a directory at the given @path associated with |
683 | * @rpc_clnt, which will contain a file named "info" with some basic | 684 | * @rpc_clnt, which will contain a file named "info" with some basic |
@@ -695,7 +696,7 @@ rpc_mkdir(char *path, struct rpc_clnt *rpc_client) | |||
695 | dentry = rpc_lookup_negative(path, &nd); | 696 | dentry = rpc_lookup_negative(path, &nd); |
696 | if (IS_ERR(dentry)) | 697 | if (IS_ERR(dentry)) |
697 | return dentry; | 698 | return dentry; |
698 | dir = nd.dentry->d_inode; | 699 | dir = nd.path.dentry->d_inode; |
699 | if ((error = __rpc_mkdir(dir, dentry)) != 0) | 700 | if ((error = __rpc_mkdir(dir, dentry)) != 0) |
700 | goto err_dput; | 701 | goto err_dput; |
701 | RPC_I(dentry->d_inode)->private = rpc_client; | 702 | RPC_I(dentry->d_inode)->private = rpc_client; |
@@ -748,6 +749,7 @@ rpc_rmdir(struct dentry *dentry) | |||
748 | * @private: private data to associate with the pipe, for the caller's use | 749 | * @private: private data to associate with the pipe, for the caller's use |
749 | * @ops: operations defining the behavior of the pipe: upcall, downcall, | 750 | * @ops: operations defining the behavior of the pipe: upcall, downcall, |
750 | * release_pipe, and destroy_msg. | 751 | * release_pipe, and destroy_msg. |
752 | * @flags: rpc_inode flags | ||
751 | * | 753 | * |
752 | * Data is made available for userspace to read by calls to | 754 | * Data is made available for userspace to read by calls to |
753 | * rpc_queue_upcall(). The actual reads will result in calls to | 755 | * rpc_queue_upcall(). The actual reads will result in calls to |
diff --git a/net/sunrpc/xprt.c b/net/sunrpc/xprt.c index cfcade906a56..d5553b8179f9 100644 --- a/net/sunrpc/xprt.c +++ b/net/sunrpc/xprt.c | |||
@@ -124,7 +124,7 @@ EXPORT_SYMBOL_GPL(xprt_register_transport); | |||
124 | 124 | ||
125 | /** | 125 | /** |
126 | * xprt_unregister_transport - unregister a transport implementation | 126 | * xprt_unregister_transport - unregister a transport implementation |
127 | * transport: transport to unregister | 127 | * @transport: transport to unregister |
128 | * | 128 | * |
129 | * Returns: | 129 | * Returns: |
130 | * 0: transport successfully unregistered | 130 | * 0: transport successfully unregistered |
diff --git a/net/unix/af_unix.c b/net/unix/af_unix.c index eea75888805e..b8788fd5e3c6 100644 --- a/net/unix/af_unix.c +++ b/net/unix/af_unix.c | |||
@@ -718,16 +718,16 @@ static struct sock *unix_find_other(struct net *net, | |||
718 | goto put_fail; | 718 | goto put_fail; |
719 | 719 | ||
720 | err = -ECONNREFUSED; | 720 | err = -ECONNREFUSED; |
721 | if (!S_ISSOCK(nd.dentry->d_inode->i_mode)) | 721 | if (!S_ISSOCK(nd.path.dentry->d_inode->i_mode)) |
722 | goto put_fail; | 722 | goto put_fail; |
723 | u=unix_find_socket_byinode(net, nd.dentry->d_inode); | 723 | u = unix_find_socket_byinode(net, nd.path.dentry->d_inode); |
724 | if (!u) | 724 | if (!u) |
725 | goto put_fail; | 725 | goto put_fail; |
726 | 726 | ||
727 | if (u->sk_type == type) | 727 | if (u->sk_type == type) |
728 | touch_atime(nd.mnt, nd.dentry); | 728 | touch_atime(nd.path.mnt, nd.path.dentry); |
729 | 729 | ||
730 | path_release(&nd); | 730 | path_put(&nd.path); |
731 | 731 | ||
732 | err=-EPROTOTYPE; | 732 | err=-EPROTOTYPE; |
733 | if (u->sk_type != type) { | 733 | if (u->sk_type != type) { |
@@ -748,7 +748,7 @@ static struct sock *unix_find_other(struct net *net, | |||
748 | return u; | 748 | return u; |
749 | 749 | ||
750 | put_fail: | 750 | put_fail: |
751 | path_release(&nd); | 751 | path_put(&nd.path); |
752 | fail: | 752 | fail: |
753 | *error=err; | 753 | *error=err; |
754 | return NULL; | 754 | return NULL; |
@@ -819,12 +819,12 @@ static int unix_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len) | |||
819 | */ | 819 | */ |
820 | mode = S_IFSOCK | | 820 | mode = S_IFSOCK | |
821 | (SOCK_INODE(sock)->i_mode & ~current->fs->umask); | 821 | (SOCK_INODE(sock)->i_mode & ~current->fs->umask); |
822 | err = vfs_mknod(nd.dentry->d_inode, dentry, mode, 0); | 822 | err = vfs_mknod(nd.path.dentry->d_inode, dentry, mode, 0); |
823 | if (err) | 823 | if (err) |
824 | goto out_mknod_dput; | 824 | goto out_mknod_dput; |
825 | mutex_unlock(&nd.dentry->d_inode->i_mutex); | 825 | mutex_unlock(&nd.path.dentry->d_inode->i_mutex); |
826 | dput(nd.dentry); | 826 | dput(nd.path.dentry); |
827 | nd.dentry = dentry; | 827 | nd.path.dentry = dentry; |
828 | 828 | ||
829 | addr->hash = UNIX_HASH_SIZE; | 829 | addr->hash = UNIX_HASH_SIZE; |
830 | } | 830 | } |
@@ -842,8 +842,8 @@ static int unix_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len) | |||
842 | list = &unix_socket_table[addr->hash]; | 842 | list = &unix_socket_table[addr->hash]; |
843 | } else { | 843 | } else { |
844 | list = &unix_socket_table[dentry->d_inode->i_ino & (UNIX_HASH_SIZE-1)]; | 844 | list = &unix_socket_table[dentry->d_inode->i_ino & (UNIX_HASH_SIZE-1)]; |
845 | u->dentry = nd.dentry; | 845 | u->dentry = nd.path.dentry; |
846 | u->mnt = nd.mnt; | 846 | u->mnt = nd.path.mnt; |
847 | } | 847 | } |
848 | 848 | ||
849 | err = 0; | 849 | err = 0; |
@@ -861,8 +861,8 @@ out: | |||
861 | out_mknod_dput: | 861 | out_mknod_dput: |
862 | dput(dentry); | 862 | dput(dentry); |
863 | out_mknod_unlock: | 863 | out_mknod_unlock: |
864 | mutex_unlock(&nd.dentry->d_inode->i_mutex); | 864 | mutex_unlock(&nd.path.dentry->d_inode->i_mutex); |
865 | path_release(&nd); | 865 | path_put(&nd.path); |
866 | out_mknod_parent: | 866 | out_mknod_parent: |
867 | if (err==-EEXIST) | 867 | if (err==-EEXIST) |
868 | err=-EADDRINUSE; | 868 | err=-EADDRINUSE; |