Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LU-12930 various: use schedule_timeout_*interruptible
[fs/lustre-release.git]
/
lustre
/
ptlrpc
/
gss
/
gss_svc_upcall.c
diff --git
a/lustre/ptlrpc/gss/gss_svc_upcall.c
b/lustre/ptlrpc/gss/gss_svc_upcall.c
index
1c643ec
..
4b82735
100644
(file)
--- a/
lustre/ptlrpc/gss/gss_svc_upcall.c
+++ b/
lustre/ptlrpc/gss/gss_svc_upcall.c
@@
-1139,8
+1139,7
@@
int __init gss_init_svc_upcall(void)
for (i = 0; i < 6; i++) {
if (channel_users(&rsi_cache) > 0)
break;
for (i = 0; i < 6; i++) {
if (channel_users(&rsi_cache) > 0)
break;
- set_current_state(TASK_UNINTERRUPTIBLE);
- schedule_timeout(cfs_time_seconds(1) / 4);
+ schedule_timeout_uninterruptible(cfs_time_seconds(1) / 4);
}
if (channel_users(&rsi_cache) == 0)
}
if (channel_users(&rsi_cache) == 0)