From: Linus Torvalds <torvalds@woody.linux-foundation.org> Date: Sat, 20 Oct 2007 02:59:18 +0000 (-0700) Subject: Avoid compile error in fs/nfs/unlink.c X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b35e7041186a9ace341665d404274d58a32b6e2c;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.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 <ezk@cs.sunysb.edu> Cc: Trond Myklebust <Trond.Myklebust@netapp.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> --- 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;