Skip to content

Commit

Permalink
Avoid compile error in fs/nfs/unlink.c
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Linus Torvalds committed Oct 20, 2007
1 parent 5f73708 commit b35e704
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fs/nfs/unlink.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit b35e704

Please sign in to comment.