headers: path.h redux
authorAlexey Dobriyan <adobriyan@gmail.com>
Mon, 10 Jan 2011 06:17:10 +0000 (08:17 +0200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 10 Jan 2011 16:51:44 +0000 (08:51 -0800)
Remove path.h from sched.h and other files.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/audit.h
include/linux/dcookies.h
include/linux/sched.h
security/apparmor/include/file.h
security/selinux/include/avc.h

index 8b5c0620abf95ba50223ced24c2e558eaaf73d54..359df048769059bfe24883d00149f8f3a4727872 100644 (file)
@@ -372,6 +372,7 @@ struct audit_buffer;
 struct audit_context;
 struct inode;
 struct netlink_skb_parms;
+struct path;
 struct linux_binprm;
 struct mq_attr;
 struct mqstat;
index 24c806f12a6c96966b0764a9224821fcc5bee434..5ac3bdd5cee677ab7ff752c8ea87a959b35e134a 100644 (file)
 #ifdef CONFIG_PROFILING
  
 #include <linux/dcache.h>
-#include <linux/path.h>
 #include <linux/types.h>
  
 struct dcookie_user;
+struct path;
  
 /**
  * dcookie_register - register a user of dcookies
index 341acbbc434a3b7b4450d7fa109d1482ae711341..c118a7f203aa8886ff5e1b072075e56481cdbbd1 100644 (file)
@@ -70,7 +70,6 @@ struct sched_param {
 #include <linux/smp.h>
 #include <linux/sem.h>
 #include <linux/signal.h>
-#include <linux/path.h>
 #include <linux/compiler.h>
 #include <linux/completion.h>
 #include <linux/pid.h>
index be36feabb16a7234c1b314fdeed89facd46755d9..ab8c6d87f758716477757996bc2f2c998a1c8d3b 100644 (file)
 #ifndef __AA_FILE_H
 #define __AA_FILE_H
 
-#include <linux/path.h>
-
 #include "domain.h"
 #include "match.h"
 
 struct aa_profile;
+struct path;
 
 /*
  * We use MAY_EXEC, MAY_WRITE, MAY_READ, MAY_APPEND and the following flags
index e94e82f738188381c582d59e26aca94b867ac064..5615081b73eca403e438678fcea782dc06e580e3 100644 (file)
@@ -15,7 +15,6 @@
 #include <linux/audit.h>
 #include <linux/lsm_audit.h>
 #include <linux/in6.h>
-#include <linux/path.h>
 #include <asm/system.h>
 #include "flask.h"
 #include "av_permissions.h"