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

Miles Bader (miles@lsi.nec.co.jp)
Mon, 9 Dec 2002 18:02:13 +0900 (JST)


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/