diff options
| author | Trond Myklebust <trond.myklebust@fys.uio.no> | 2002-10-11 02:59:52 -0700 |
|---|---|---|
| committer | Trond Myklebust <trond.myklebust@fys.uio.no> | 2002-10-11 02:59:52 -0700 |
| commit | 56d03a52b9c19c1cae3760052b3c891174f6fb2c (patch) | |
| tree | 8c88919e7966f2166a3951c4bf36fac3e44217d9 /include/linux | |
| parent | be6b809b10080c64c86ad3cc077b11651fb06ab1 (diff) | |
[PATCH] A basic NFSv4 client for 2.5.x
Now that all calls to nfs_async_handle_jukebox() have been moved to
fs/nfs/nfs3proc.c, we clean up by moving the nfs_async_jukebox() routine
itself there. We also rename it nfs3_async_handle_jukebox(), to be
consistent with the naming conventions of that file.
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/nfs_fs.h | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/include/linux/nfs_fs.h b/include/linux/nfs_fs.h index 1fec263f85fa..4c35f7cbb97c 100644 --- a/include/linux/nfs_fs.h +++ b/include/linux/nfs_fs.h @@ -470,28 +470,7 @@ extern void * nfs_root_data(void); __retval; \ }) -#ifdef CONFIG_NFS_V3 - #define NFS_JUKEBOX_RETRY_TIME (5 * HZ) -static inline int -nfs_async_handle_jukebox(struct rpc_task *task) -{ - if (task->tk_status != -EJUKEBOX) - return 0; - task->tk_status = 0; - rpc_restart_call(task); - rpc_delay(task, NFS_JUKEBOX_RETRY_TIME); - return 1; -} - -#else - -static inline int -nfs_async_handle_jukebox(struct rpc_task *task) -{ - return 0; -} -#endif /* CONFIG_NFS_V3 */ #endif /* __KERNEL__ */ |
