[2.6 patch] fs/ioprio.c should #include <linux/syscalls.h>

From: Adrian Bunk
Date: Sun Oct 30 2005 - 10:55:22 EST


Every file should include the headers containing the prototypes for
it's global functions.


Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

--- linux-2.6.14-rc5-mm1-full/fs/ioprio.c.old 2005-10-30 16:26:29.000000000 +0100
+++ linux-2.6.14-rc5-mm1-full/fs/ioprio.c 2005-10-30 16:26:47.000000000 +0100
@@ -22,6 +22,7 @@
#include <linux/kernel.h>
#include <linux/ioprio.h>
#include <linux/blkdev.h>
+#include <linux/syscalls.h>

static int set_task_ioprio(struct task_struct *task, int ioprio)
{

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/