From 8b1578fca9edd152a622dbe2cb662178dcc3d364 Mon Sep 17 00:00:00 2001 From: Eric Paris Date: Tue, 24 May 2011 17:13:13 -0700 Subject: [PATCH] --- yaml --- r: 250961 b: refs/heads/master c: 1dbe39424a43e56a6c9aed12661192af51dcdb9f h: refs/heads/master i: 250959: efc94925ae076b623f09c1983c49db64329c469f v: v3 --- [refs] | 2 +- trunk/include/linux/xattr.h | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/[refs] b/[refs] index 1033adbf3ff7..8599b3a6259f 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 4b060420a596095869a6d7849caa798d23839cd1 +refs/heads/master: 1dbe39424a43e56a6c9aed12661192af51dcdb9f diff --git a/trunk/include/linux/xattr.h b/trunk/include/linux/xattr.h index 6050783005bd..aed54c50aa66 100644 --- a/trunk/include/linux/xattr.h +++ b/trunk/include/linux/xattr.h @@ -13,10 +13,6 @@ #define XATTR_CREATE 0x1 /* set value, fail if attr already exists */ #define XATTR_REPLACE 0x2 /* set value, fail if attr does not exist */ -#ifdef __KERNEL__ - -#include - /* Namespaces */ #define XATTR_OS2_PREFIX "os2." #define XATTR_OS2_PREFIX_LEN (sizeof (XATTR_OS2_PREFIX) - 1) @@ -53,6 +49,10 @@ #define XATTR_CAPS_SUFFIX "capability" #define XATTR_NAME_CAPS XATTR_SECURITY_PREFIX XATTR_CAPS_SUFFIX +#ifdef __KERNEL__ + +#include + struct inode; struct dentry;