diff options
Diffstat (limited to 'fs/nfs/proc.c')
-rw-r--r-- | fs/nfs/proc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/nfs/proc.c b/fs/nfs/proc.c index f48125da198a..0c672588fe5a 100644 --- a/fs/nfs/proc.c +++ b/fs/nfs/proc.c | |||
@@ -41,6 +41,7 @@ | |||
41 | #include <linux/nfs_fs.h> | 41 | #include <linux/nfs_fs.h> |
42 | #include <linux/nfs_page.h> | 42 | #include <linux/nfs_page.h> |
43 | #include <linux/lockd/bind.h> | 43 | #include <linux/lockd/bind.h> |
44 | #include <linux/freezer.h> | ||
44 | #include "internal.h" | 45 | #include "internal.h" |
45 | 46 | ||
46 | #define NFSDBG_FACILITY NFSDBG_PROC | 47 | #define NFSDBG_FACILITY NFSDBG_PROC |
@@ -59,7 +60,7 @@ nfs_rpc_wrapper(struct rpc_clnt *clnt, struct rpc_message *msg, int flags) | |||
59 | res = rpc_call_sync(clnt, msg, flags); | 60 | res = rpc_call_sync(clnt, msg, flags); |
60 | if (res != -EKEYEXPIRED) | 61 | if (res != -EKEYEXPIRED) |
61 | break; | 62 | break; |
62 | schedule_timeout_killable(NFS_JUKEBOX_RETRY_TIME); | 63 | freezable_schedule_timeout_killable(NFS_JUKEBOX_RETRY_TIME); |
63 | res = -ERESTARTSYS; | 64 | res = -ERESTARTSYS; |
64 | } while (!fatal_signal_pending(current)); | 65 | } while (!fatal_signal_pending(current)); |
65 | return res; | 66 | return res; |