Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=b35e7041186a9ace341665d404274d58a32b6e2c Commit: b35e7041186a9ace341665d404274d58a32b6e2c Parent: 5f737085beea3a5c5b6f44a16e6d3e2fd03095e0 Author: Linus Torvalds <[EMAIL PROTECTED]> AuthorDate: Fri Oct 19 19:59:18 2007 -0700 Committer: Linus Torvalds <[EMAIL PROTECTED]> CommitDate: 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 <[EMAIL PROTECTED]> Cc: Trond Myklebust <[EMAIL PROTECTED]> Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]> --- 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 <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; - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html