aboutsummaryrefslogtreecommitdiffstats
path: root/fs/coda/upcall.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/coda/upcall.c')
-rw-r--r--fs/coda/upcall.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/fs/coda/upcall.c b/fs/coda/upcall.c
index e4e766e5557c..cd561d2e90b0 100644
--- a/fs/coda/upcall.c
+++ b/fs/coda/upcall.c
@@ -632,7 +632,7 @@ int venus_statfs(struct dentry *dentry, struct kstatfs *sfs)
632/* 632/*
633 * coda_upcall and coda_downcall routines. 633 * coda_upcall and coda_downcall routines.
634 */ 634 */
635static void block_signals(sigset_t *old) 635static void coda_block_signals(sigset_t *old)
636{ 636{
637 spin_lock_irq(&current->sighand->siglock); 637 spin_lock_irq(&current->sighand->siglock);
638 *old = current->blocked; 638 *old = current->blocked;
@@ -646,7 +646,7 @@ static void block_signals(sigset_t *old)
646 spin_unlock_irq(&current->sighand->siglock); 646 spin_unlock_irq(&current->sighand->siglock);
647} 647}
648 648
649static void unblock_signals(sigset_t *old) 649static void coda_unblock_signals(sigset_t *old)
650{ 650{
651 spin_lock_irq(&current->sighand->siglock); 651 spin_lock_irq(&current->sighand->siglock);
652 current->blocked = *old; 652 current->blocked = *old;
@@ -672,7 +672,7 @@ static inline void coda_waitfor_upcall(struct upc_req *req)
672 sigset_t old; 672 sigset_t old;
673 int blocked; 673 int blocked;
674 674
675 block_signals(&old); 675 coda_block_signals(&old);
676 blocked = 1; 676 blocked = 1;
677 677
678 add_wait_queue(&req->uc_sleep, &wait); 678 add_wait_queue(&req->uc_sleep, &wait);
@@ -689,7 +689,7 @@ static inline void coda_waitfor_upcall(struct upc_req *req)
689 if (blocked && time_after(jiffies, timeout) && 689 if (blocked && time_after(jiffies, timeout) &&
690 CODA_INTERRUPTIBLE(req)) 690 CODA_INTERRUPTIBLE(req))
691 { 691 {
692 unblock_signals(&old); 692 coda_unblock_signals(&old);
693 blocked = 0; 693 blocked = 0;
694 } 694 }
695 695
@@ -704,7 +704,7 @@ static inline void coda_waitfor_upcall(struct upc_req *req)
704 schedule(); 704 schedule();
705 } 705 }
706 if (blocked) 706 if (blocked)
707 unblock_signals(&old); 707 coda_unblock_signals(&old);
708 708
709 remove_wait_queue(&req->uc_sleep, &wait); 709 remove_wait_queue(&req->uc_sleep, &wait);
710 set_current_state(TASK_RUNNING); 710 set_current_state(TASK_RUNNING);