diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-10-24 16:41:39 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-10-24 16:41:39 -0400 |
commit | 229aebb873e29726b91e076161649cf45154b0bf (patch) | |
tree | acc02a3702215bce8d914f4c8cc3d7a1382b1c67 /net/sunrpc/rpc_pipe.c | |
parent | 8de547e1824437f3c6af180d3ed2162fa4b3f389 (diff) | |
parent | 50a23e6eec6f20d55a3a920e47adb455bff6046e (diff) |
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
* 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (39 commits)
Update broken web addresses in arch directory.
Update broken web addresses in the kernel.
Revert "drivers/usb: Remove unnecessary return's from void functions" for musb gadget
Revert "Fix typo: configuation => configuration" partially
ida: document IDA_BITMAP_LONGS calculation
ext2: fix a typo on comment in ext2/inode.c
drivers/scsi: Remove unnecessary casts of private_data
drivers/s390: Remove unnecessary casts of private_data
net/sunrpc/rpc_pipe.c: Remove unnecessary casts of private_data
drivers/infiniband: Remove unnecessary casts of private_data
drivers/gpu/drm: Remove unnecessary casts of private_data
kernel/pm_qos_params.c: Remove unnecessary casts of private_data
fs/ecryptfs: Remove unnecessary casts of private_data
fs/seq_file.c: Remove unnecessary casts of private_data
arm: uengine.c: remove C99 comments
arm: scoop.c: remove C99 comments
Fix typo configue => configure in comments
Fix typo: configuation => configuration
Fix typo interrest[ing|ed] => interest[ing|ed]
Fix various typos of valid in comments
...
Fix up trivial conflicts in:
drivers/char/ipmi/ipmi_si_intf.c
drivers/usb/gadget/rndis.c
net/irda/irnet/irnet_ppp.c
Diffstat (limited to 'net/sunrpc/rpc_pipe.c')
-rw-r--r-- | net/sunrpc/rpc_pipe.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/sunrpc/rpc_pipe.c b/net/sunrpc/rpc_pipe.c index 28bcd52e3ce9..52f252432144 100644 --- a/net/sunrpc/rpc_pipe.c +++ b/net/sunrpc/rpc_pipe.c | |||
@@ -203,7 +203,7 @@ rpc_pipe_release(struct inode *inode, struct file *filp) | |||
203 | mutex_lock(&inode->i_mutex); | 203 | mutex_lock(&inode->i_mutex); |
204 | if (rpci->ops == NULL) | 204 | if (rpci->ops == NULL) |
205 | goto out; | 205 | goto out; |
206 | msg = (struct rpc_pipe_msg *)filp->private_data; | 206 | msg = filp->private_data; |
207 | if (msg != NULL) { | 207 | if (msg != NULL) { |
208 | spin_lock(&inode->i_lock); | 208 | spin_lock(&inode->i_lock); |
209 | msg->errno = -EAGAIN; | 209 | msg->errno = -EAGAIN; |
@@ -325,7 +325,7 @@ rpc_pipe_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) | |||
325 | len = rpci->pipelen; | 325 | len = rpci->pipelen; |
326 | if (filp->private_data) { | 326 | if (filp->private_data) { |
327 | struct rpc_pipe_msg *msg; | 327 | struct rpc_pipe_msg *msg; |
328 | msg = (struct rpc_pipe_msg *)filp->private_data; | 328 | msg = filp->private_data; |
329 | len += msg->len - msg->copied; | 329 | len += msg->len - msg->copied; |
330 | } | 330 | } |
331 | spin_unlock(&inode->i_lock); | 331 | spin_unlock(&inode->i_lock); |