Commit 2f99c369 authored by Al Viro's avatar Al Viro

get rid of pointless includes of ext2_fs.h

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 4a165d25
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
#include <linux/mount.h> #include <linux/mount.h>
#include <linux/fs.h> #include <linux/fs.h>
#include <linux/gfs2_ondisk.h> #include <linux/gfs2_ondisk.h>
#include <linux/ext2_fs.h>
#include <linux/falloc.h> #include <linux/falloc.h>
#include <linux/swap.h> #include <linux/swap.h>
#include <linux/crc32.h> #include <linux/crc32.h>
......
...@@ -28,8 +28,6 @@ ...@@ -28,8 +28,6 @@
#include "suballoc.h" #include "suballoc.h"
#include "move_extents.h" #include "move_extents.h"
#include <linux/ext2_fs.h>
#define o2info_from_user(a, b) \ #define o2info_from_user(a, b) \
copy_from_user(&(a), (b), sizeof(a)) copy_from_user(&(a), (b), sizeof(a))
#define o2info_to_user(a, b) \ #define o2info_to_user(a, b) \
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/fs.h> #include <linux/fs.h>
#include <linux/minix_fs.h> #include <linux/minix_fs.h>
#include <linux/ext2_fs.h>
#include <linux/romfs_fs.h> #include <linux/romfs_fs.h>
#include <linux/initrd.h> #include <linux/initrd.h>
#include <linux/sched.h> #include <linux/sched.h>
......
...@@ -28,7 +28,6 @@ ...@@ -28,7 +28,6 @@
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/tracehook.h> #include <linux/tracehook.h>
#include <linux/errno.h> #include <linux/errno.h>
#include <linux/ext2_fs.h>
#include <linux/sched.h> #include <linux/sched.h>
#include <linux/security.h> #include <linux/security.h>
#include <linux/xattr.h> #include <linux/xattr.h>
...@@ -2971,15 +2970,15 @@ static int selinux_file_ioctl(struct file *file, unsigned int cmd, ...@@ -2971,15 +2970,15 @@ static int selinux_file_ioctl(struct file *file, unsigned int cmd,
/* fall through */ /* fall through */
case FIGETBSZ: case FIGETBSZ:
/* fall through */ /* fall through */
case EXT2_IOC_GETFLAGS: case FS_IOC_GETFLAGS:
/* fall through */ /* fall through */
case EXT2_IOC_GETVERSION: case FS_IOC_GETVERSION:
error = file_has_perm(cred, file, FILE__GETATTR); error = file_has_perm(cred, file, FILE__GETATTR);
break; break;
case EXT2_IOC_SETFLAGS: case FS_IOC_SETFLAGS:
/* fall through */ /* fall through */
case EXT2_IOC_SETVERSION: case FS_IOC_SETVERSION:
error = file_has_perm(cred, file, FILE__SETATTR); error = file_has_perm(cred, file, FILE__SETATTR);
break; break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment