aboutsummaryrefslogtreecommitdiffstats
path: root/fs/coda/upcall.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2014-06-06 19:35:10 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2014-06-06 19:35:10 -0400
commit57d326169e878a1a37b2bccd1cf81f6809ee67b9 (patch)
tree86ed74ae4dc2beaebce1c67b8459f1873b777d3a /fs/coda/upcall.c
parent7b215de3d0abbc4f6daf2efd19e8809af0564490 (diff)
parent0244756edc4b98c129e92c7061d9f383708cf786 (diff)
Merge branch 'akpm' (patches from Andrew Morton) into next
Merge more updates from Andrew Morton: - Most of the rest of MM. This includes "mark remap_file_pages syscall as deprecated" but the actual "replace remap_file_pages syscall with emulation" is held back. I guess we'll need to work out when to pull the trigger on that one. - various minor cleanups to obscure filesystems - the drivers/rtc queue - hfsplus updates - ufs, hpfs, fatfs, affs, reiserfs - Documentation/ - signals - procfs - cpu hotplug - lib/idr.c - rapidio - sysctl - ipc updates * emailed patches from Andrew Morton <akpm@linux-foundation.org>: (171 commits) ufs: sb mutex merge + mutex_destroy powerpc: update comments for generic idle conversion cris: update comments for generic idle conversion idle: remove cpu_idle() forward declarations nbd: zero from and len fields in NBD_CMD_DISCONNECT. mm: convert some level-less printks to pr_* MAINTAINERS: adi-buildroot-devel is moderated MAINTAINERS: add linux-api for review of API/ABI changes mm/kmemleak-test.c: use pr_fmt for logging fs/dlm/debug_fs.c: replace seq_printf by seq_puts fs/dlm/lockspace.c: convert simple_str to kstr fs/dlm/config.c: convert simple_str to kstr mm: mark remap_file_pages() syscall as deprecated mm: memcontrol: remove unnecessary memcg argument from soft limit functions mm: memcontrol: clean up memcg zoneinfo lookup mm/memblock.c: call kmemleak directly from memblock_(alloc|free) mm/mempool.c: update the kmemleak stack trace for mempool allocations lib/radix-tree.c: update the kmemleak stack trace for radix tree allocations mm: introduce kmemleak_update_trace() mm/kmemleak.c: use %u to print ->checksum ...
Diffstat (limited to 'fs/coda/upcall.c')
-rw-r--r--fs/coda/upcall.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/fs/coda/upcall.c b/fs/coda/upcall.c
index 3a731976dc5e..21fcf8dcb9cd 100644
--- a/fs/coda/upcall.c
+++ b/fs/coda/upcall.c
@@ -508,8 +508,8 @@ int venus_pioctl(struct super_block *sb, struct CodaFid *fid,
508 inp->coda_ioctl.data = (char *)(INSIZE(ioctl)); 508 inp->coda_ioctl.data = (char *)(INSIZE(ioctl));
509 509
510 /* get the data out of user space */ 510 /* get the data out of user space */
511 if ( copy_from_user((char*)inp + (long)inp->coda_ioctl.data, 511 if (copy_from_user((char *)inp + (long)inp->coda_ioctl.data,
512 data->vi.in, data->vi.in_size) ) { 512 data->vi.in, data->vi.in_size)) {
513 error = -EINVAL; 513 error = -EINVAL;
514 goto exit; 514 goto exit;
515 } 515 }
@@ -518,8 +518,8 @@ int venus_pioctl(struct super_block *sb, struct CodaFid *fid,
518 &outsize, inp); 518 &outsize, inp);
519 519
520 if (error) { 520 if (error) {
521 printk("coda_pioctl: Venus returns: %d for %s\n", 521 pr_warn("%s: Venus returns: %d for %s\n",
522 error, coda_f2s(fid)); 522 __func__, error, coda_f2s(fid));
523 goto exit; 523 goto exit;
524 } 524 }
525 525
@@ -675,7 +675,7 @@ static int coda_upcall(struct venus_comm *vcp,
675 mutex_lock(&vcp->vc_mutex); 675 mutex_lock(&vcp->vc_mutex);
676 676
677 if (!vcp->vc_inuse) { 677 if (!vcp->vc_inuse) {
678 printk(KERN_NOTICE "coda: Venus dead, not sending upcall\n"); 678 pr_notice("Venus dead, not sending upcall\n");
679 error = -ENXIO; 679 error = -ENXIO;
680 goto exit; 680 goto exit;
681 } 681 }
@@ -725,7 +725,7 @@ static int coda_upcall(struct venus_comm *vcp,
725 725
726 error = -EINTR; 726 error = -EINTR;
727 if ((req->uc_flags & CODA_REQ_ABORT) || !signal_pending(current)) { 727 if ((req->uc_flags & CODA_REQ_ABORT) || !signal_pending(current)) {
728 printk(KERN_WARNING "coda: Unexpected interruption.\n"); 728 pr_warn("Unexpected interruption.\n");
729 goto exit; 729 goto exit;
730 } 730 }
731 731
@@ -735,7 +735,7 @@ static int coda_upcall(struct venus_comm *vcp,
735 735
736 /* Venus saw the upcall, make sure we can send interrupt signal */ 736 /* Venus saw the upcall, make sure we can send interrupt signal */
737 if (!vcp->vc_inuse) { 737 if (!vcp->vc_inuse) {
738 printk(KERN_INFO "coda: Venus dead, not sending signal.\n"); 738 pr_info("Venus dead, not sending signal.\n");
739 goto exit; 739 goto exit;
740 } 740 }
741 741