diff options
-rw-r--r-- | fs/gfs2/file.c | 1 | ||||
-rw-r--r-- | fs/ocfs2/ioctl.c | 2 | ||||
-rw-r--r-- | init/do_mounts_initrd.c | 1 | ||||
-rw-r--r-- | security/selinux/hooks.c | 9 |
4 files changed, 4 insertions, 9 deletions
diff --git a/fs/gfs2/file.c b/fs/gfs2/file.c index 76834587a8a4..a3d2c9ee8d66 100644 --- a/fs/gfs2/file.c +++ b/fs/gfs2/file.c | |||
@@ -18,7 +18,6 @@ | |||
18 | #include <linux/mount.h> | 18 | #include <linux/mount.h> |
19 | #include <linux/fs.h> | 19 | #include <linux/fs.h> |
20 | #include <linux/gfs2_ondisk.h> | 20 | #include <linux/gfs2_ondisk.h> |
21 | #include <linux/ext2_fs.h> | ||
22 | #include <linux/falloc.h> | 21 | #include <linux/falloc.h> |
23 | #include <linux/swap.h> | 22 | #include <linux/swap.h> |
24 | #include <linux/crc32.h> | 23 | #include <linux/crc32.h> |
diff --git a/fs/ocfs2/ioctl.c b/fs/ocfs2/ioctl.c index a6fda3c188aa..a1a1bfd652c9 100644 --- a/fs/ocfs2/ioctl.c +++ b/fs/ocfs2/ioctl.c | |||
@@ -28,8 +28,6 @@ | |||
28 | #include "suballoc.h" | 28 | #include "suballoc.h" |
29 | #include "move_extents.h" | 29 | #include "move_extents.h" |
30 | 30 | ||
31 | #include <linux/ext2_fs.h> | ||
32 | |||
33 | #define o2info_from_user(a, b) \ | 31 | #define o2info_from_user(a, b) \ |
34 | copy_from_user(&(a), (b), sizeof(a)) | 32 | copy_from_user(&(a), (b), sizeof(a)) |
35 | #define o2info_to_user(a, b) \ | 33 | #define o2info_to_user(a, b) \ |
diff --git a/init/do_mounts_initrd.c b/init/do_mounts_initrd.c index 3098a38f3ae1..9047330c73e9 100644 --- a/init/do_mounts_initrd.c +++ b/init/do_mounts_initrd.c | |||
@@ -2,7 +2,6 @@ | |||
2 | #include <linux/kernel.h> | 2 | #include <linux/kernel.h> |
3 | #include <linux/fs.h> | 3 | #include <linux/fs.h> |
4 | #include <linux/minix_fs.h> | 4 | #include <linux/minix_fs.h> |
5 | #include <linux/ext2_fs.h> | ||
6 | #include <linux/romfs_fs.h> | 5 | #include <linux/romfs_fs.h> |
7 | #include <linux/initrd.h> | 6 | #include <linux/initrd.h> |
8 | #include <linux/sched.h> | 7 | #include <linux/sched.h> |
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 | ||