Skip to content

Commit

Permalink
headers: path.h redux
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Alexey Dobriyan authored and Linus Torvalds committed Jan 10, 2011
1 parent 9f99a2f commit 37721e1
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 5 deletions.
1 change: 1 addition & 0 deletions include/linux/audit.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion include/linux/dcookies.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
#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
Expand Down
1 change: 0 additions & 1 deletion include/linux/sched.h
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
3 changes: 1 addition & 2 deletions security/apparmor/include/file.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,11 @@
#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
Expand Down
1 change: 0 additions & 1 deletion security/selinux/include/avc.h
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 37721e1

Please sign in to comment.