diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-03-23 16:04:05 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-03-31 16:03:15 -0400 |
commit | 2f99c36986ff27a86f06f27212c5f5fa8c7164a3 (patch) | |
tree | a90fd7fe865bb1c5a00b0946754b505bcf070b60 /security | |
parent | 4a165d25f63a989d0aabe9d8eed5b3a5d5da1862 (diff) |
get rid of pointless includes of ext2_fs.h
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'security')
-rw-r--r-- | security/selinux/hooks.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c index 15c6c567468b..28482f9e15b8 100644 --- a/security/selinux/hooks.c +++ b/security/selinux/hooks.c | |||
@@ -28,7 +28,6 @@ | |||
28 | #include <linux/kernel.h> | 28 | #include <linux/kernel.h> |
29 | #include <linux/tracehook.h> | 29 | #include <linux/tracehook.h> |
30 | #include <linux/errno.h> | 30 | #include <linux/errno.h> |
31 | #include <linux/ext2_fs.h> | ||
32 | #include <linux/sched.h> | 31 | #include <linux/sched.h> |
33 | #include <linux/security.h> | 32 | #include <linux/security.h> |
34 | #include <linux/xattr.h> | 33 | #include <linux/xattr.h> |
@@ -2971,15 +2970,15 @@ static int selinux_file_ioctl(struct file *file, unsigned int cmd, | |||
2971 | /* fall through */ | 2970 | /* fall through */ |
2972 | case FIGETBSZ: | 2971 | case FIGETBSZ: |
2973 | /* fall through */ | 2972 | /* fall through */ |
2974 | case EXT2_IOC_GETFLAGS: | 2973 | case FS_IOC_GETFLAGS: |
2975 | /* fall through */ | 2974 | /* fall through */ |
2976 | case EXT2_IOC_GETVERSION: | 2975 | case FS_IOC_GETVERSION: |
2977 | error = file_has_perm(cred, file, FILE__GETATTR); | 2976 | error = file_has_perm(cred, file, FILE__GETATTR); |
2978 | break; | 2977 | break; |
2979 | 2978 | ||
2980 | case EXT2_IOC_SETFLAGS: | 2979 | case FS_IOC_SETFLAGS: |
2981 | /* fall through */ | 2980 | /* fall through */ |
2982 | case EXT2_IOC_SETVERSION: | 2981 | case FS_IOC_SETVERSION: |
2983 | error = file_has_perm(cred, file, FILE__SETATTR); | 2982 | error = file_has_perm(cred, file, FILE__SETATTR); |
2984 | break; | 2983 | break; |
2985 | 2984 | ||