[PATCH] slim: compilation warning fix

From: Kylene Jo Hall
Date: Mon Sep 18 2006 - 14:49:58 EST


There is a warning when compiling the intergity_dummy.c file about
vfs_getxattr not being defined. This patch fixes that by adding the
xattr.h include file.

Signed-off-by: Mimi Zohar <zohar@xxxxxxxxxx>
Signed-off-by: Kylene Hall <kjhall@xxxxxxxxxx>
---
security/integrity_dummy.c | 1 +
1 files changed, 1 insertion(+)

--- linux-2.6.18-rc6-mm2/security/integrity_dummy.c 2006-09-15 11:13:55.000000000 -0500
+++ linux-2.6.18-rc6-mm2-slim/security/integrity_dummy.c 2006-09-18 13:14:16.000000000 -0500
@@ -16,6 +16,7 @@
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/integrity.h>
+#include <linux/xattr.h>

/*
* Return the extended attribute


-
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/