diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-19 19:59:18 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-19 19:59:18 -0700 |
commit | b35e7041186a9ace341665d404274d58a32b6e2c (patch) | |
tree | 68e56db6292bc0853252305345e845620860d995 | |
parent | 5f737085beea3a5c5b6f44a16e6d3e2fd03095e0 (diff) | |
download | blackbird-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.c | 3 |
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; |