summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-19 19:59:18 -0700
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-19 19:59:18 -0700
commitb35e7041186a9ace341665d404274d58a32b6e2c (patch)
tree68e56db6292bc0853252305345e845620860d995
parent5f737085beea3a5c5b6f44a16e6d3e2fd03095e0 (diff)
downloadblackbird-op-linux-b35e7041186a9ace341665d404274d58a32b6e2c.tar.gz
blackbird-op-linux-b35e7041186a9ace341665d404274d58a32b6e2c.zip
Avoid compile error in fs/nfs/unlink.c
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 <ezk@cs.sunysb.edu> Cc: Trond Myklebust <Trond.Myklebust@netapp.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--fs/nfs/unlink.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/nfs/unlink.c b/fs/nfs/unlink.c
index 6ecd46c967c8..ce558c2e4d53 100644
--- a/fs/nfs/unlink.c
+++ b/fs/nfs/unlink.c
@@ -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;
OpenPOWER on IntegriCloud