[PATCH] Explicitly include sched.h in fs/ext2/ioctl.c

From: Miles Bader (miles@lsi.nec.co.jp)
Date: Mon Dec 09 2002 - 04:02:13 EST

It previously seemed to have depended on getting sched.h via asm/uaccess.h.
This patch just makes it explicit.

diff -ruN -X../cludes -xm68knommu -xasm-m68knommu -xmm ../orig/linux-2.5.50/fs/ext2/ioctl.c fs/ext2/ioctl.c
--- ../orig/linux-2.5.50/fs/ext2/ioctl.c 2002-09-18 09:59:20.000000000 +0900
+++ fs/ext2/ioctl.c 2002-11-28 14:55:33.000000000 +0900
@@ -9,8 +9,10 @@
 #include "ext2.h"
 #include <linux/time.h>
+#include <linux/capability.h>
+#include <linux/sched.h>
 #include <asm/uaccess.h>
+#include <asm/current.h>
 int ext2_ioctl (struct inode * inode, struct file * filp, unsigned int cmd,
                 unsigned long arg)
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

This archive was generated by hypermail 2b29 : Sun Dec 15 2002 - 22:00:14 EST