nfs4proc.c (7dd4b804e08041ff56c88bdd8da742d14b17ed25) nfs4proc.c (e6cf91b7b47ff82b624bdfe2fdcde32bb52e71dd)
1/*
2 * Server-side procedures for NFSv4.
3 *
4 * Copyright (c) 2002 The Regents of the University of Michigan.
5 * All rights reserved.
6 *
7 * Kendrick Smith <kmsmith@umich.edu>
8 * Andy Adamson <andros@umich.edu>

--- 1304 unchanged lines hidden (view full) ---

1313 /* wait - and try again */
1314 prepare_to_wait(&nn->nfsd_ssc_waitq, &wait,
1315 TASK_INTERRUPTIBLE);
1316 spin_unlock(&nn->nfsd_ssc_lock);
1317
1318 /* allow 20secs for mount/unmount for now - revisit */
1319 if (signal_pending(current) ||
1320 (schedule_timeout(20*HZ) == 0)) {
1/*
2 * Server-side procedures for NFSv4.
3 *
4 * Copyright (c) 2002 The Regents of the University of Michigan.
5 * All rights reserved.
6 *
7 * Kendrick Smith <kmsmith@umich.edu>
8 * Andy Adamson <andros@umich.edu>

--- 1304 unchanged lines hidden (view full) ---

1313 /* wait - and try again */
1314 prepare_to_wait(&nn->nfsd_ssc_waitq, &wait,
1315 TASK_INTERRUPTIBLE);
1316 spin_unlock(&nn->nfsd_ssc_lock);
1317
1318 /* allow 20secs for mount/unmount for now - revisit */
1319 if (signal_pending(current) ||
1320 (schedule_timeout(20*HZ) == 0)) {
1321 finish_wait(&nn->nfsd_ssc_waitq, &wait);
1321 kfree(work);
1322 return nfserr_eagain;
1323 }
1324 finish_wait(&nn->nfsd_ssc_waitq, &wait);
1325 goto try_again;
1326 }
1327 *ss_mnt = ni->nsui_vfsmount;
1328 refcount_inc(&ni->nsui_refcnt);

--- 2303 unchanged lines hidden ---
1322 kfree(work);
1323 return nfserr_eagain;
1324 }
1325 finish_wait(&nn->nfsd_ssc_waitq, &wait);
1326 goto try_again;
1327 }
1328 *ss_mnt = ni->nsui_vfsmount;
1329 refcount_inc(&ni->nsui_refcnt);

--- 2303 unchanged lines hidden ---