From: Linus Torvalds <> Date: Fri Oct 19 19:59:18 2007 -0700 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 Cc: Trond Myklebust Signed-off-by: Linus Torvalds Signed-off-by: Trond Myklebust --- 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 6ecd46c..ce558c2 100644 --- a/fs/nfs/unlink.c +++ b/fs/nfs/unlink.c @@ -11,7 +11,8 @@ #include #include #include - +#include +#include struct nfs_unlinkdata { struct hlist_node list;