From: Linus Torvalds Date: Sat, 20 Oct 2007 02:59:18 +0000 (-0700) Subject: Avoid compile error in fs/nfs/unlink.c X-Git-Tag: v2.6.24-rc1~127 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=b35e7041186a9ace341665d404274d58a32b6e2c;p=linux-2.6-omap-h63xx.git 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 --- diff --git a/fs/nfs/unlink.c b/fs/nfs/unlink.c index 6ecd46c967c..ce558c2e4d5 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;