X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Fobdclass%2Fgenops.c;h=092ed77b050e54d1e578d2f4d9d31adc29021682;hp=aca1fec8ec7bd287e56160135bec6292b2fef300;hb=5c883ea2748ae9e430a9cd863a9b630b2a74440a;hpb=f2d06d3c76a1d69447e7bd6fd29d8165be558d73 diff --git a/lustre/obdclass/genops.c b/lustre/obdclass/genops.c index aca1fec..092ed77 100644 --- a/lustre/obdclass/genops.c +++ b/lustre/obdclass/genops.c @@ -1773,8 +1773,7 @@ void obd_exports_barrier(struct obd_device *obd) spin_lock(&obd->obd_dev_lock); while (!list_empty(&obd->obd_unlinked_exports)) { spin_unlock(&obd->obd_dev_lock); - set_current_state(TASK_UNINTERRUPTIBLE); - schedule_timeout(cfs_time_seconds(waited)); + schedule_timeout_uninterruptible(cfs_time_seconds(waited)); if (waited > 5 && is_power_of_2(waited)) { LCONSOLE_WARN("%s is waiting for obd_unlinked_exports " "more than %d seconds. "