]> Git Repo - linux.git/commitdiff
Avoid compile error in fs/nfs/unlink.c
authorLinus Torvalds <[email protected]>
Sat, 20 Oct 2007 02:59:18 +0000 (19:59 -0700)
committerLinus Torvalds <[email protected]>
Sat, 20 Oct 2007 02:59:18 +0000 (19:59 -0700)
Erez Zadok reports that certain configurations fail to build due to
schedule() TASK_[UN]INTERRUPTIBLE not being declared.  Add proper
include files to fix.

Cc: Erez Zadok <[email protected]>
Cc: Trond Myklebust <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
fs/nfs/unlink.c

index 6ecd46c967c8bc3073cc3389ec65d32524d23e9d..ce558c2e4d53d5779db00bfe79a6a9744c394865 100644 (file)
@@ -11,7 +11,8 @@
 #include <linux/sunrpc/sched.h>
 #include <linux/sunrpc/clnt.h>
 #include <linux/nfs_fs.h>
-
+#include <linux/sched.h>
+#include <linux/wait.h>
 
 struct nfs_unlinkdata {
        struct hlist_node list;
This page took 0.04882 seconds and 4 git commands to generate.