|
@@ -272,7 +272,7 @@ nfs_idmap_id(struct idmap *idmap, struct idmap_hashtable *h,
|
|
set_current_state(TASK_UNINTERRUPTIBLE);
|
|
set_current_state(TASK_UNINTERRUPTIBLE);
|
|
mutex_unlock(&idmap->idmap_im_lock);
|
|
mutex_unlock(&idmap->idmap_im_lock);
|
|
schedule();
|
|
schedule();
|
|
- current->state = TASK_RUNNING;
|
|
|
|
|
|
+ __set_current_state(TASK_RUNNING);
|
|
remove_wait_queue(&idmap->idmap_wq, &wq);
|
|
remove_wait_queue(&idmap->idmap_wq, &wq);
|
|
mutex_lock(&idmap->idmap_im_lock);
|
|
mutex_lock(&idmap->idmap_im_lock);
|
|
|
|
|
|
@@ -333,7 +333,7 @@ nfs_idmap_name(struct idmap *idmap, struct idmap_hashtable *h,
|
|
set_current_state(TASK_UNINTERRUPTIBLE);
|
|
set_current_state(TASK_UNINTERRUPTIBLE);
|
|
mutex_unlock(&idmap->idmap_im_lock);
|
|
mutex_unlock(&idmap->idmap_im_lock);
|
|
schedule();
|
|
schedule();
|
|
- current->state = TASK_RUNNING;
|
|
|
|
|
|
+ __set_current_state(TASK_RUNNING);
|
|
remove_wait_queue(&idmap->idmap_wq, &wq);
|
|
remove_wait_queue(&idmap->idmap_wq, &wq);
|
|
mutex_lock(&idmap->idmap_im_lock);
|
|
mutex_lock(&idmap->idmap_im_lock);
|
|
|
|
|