From: Al Viro Date: Fri, 23 Mar 2012 20:04:05 +0000 (-0400) Subject: get rid of pointless includes of ext2_fs.h X-Git-Tag: upstream/snapshot3+hdmi~7779^2~17 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2f99c36986ff27a86f06f27212c5f5fa8c7164a3;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git get rid of pointless includes of ext2_fs.h Signed-off-by: Al Viro --- diff --git a/fs/gfs2/file.c b/fs/gfs2/file.c index 7683458..a3d2c9e 100644 --- a/fs/gfs2/file.c +++ b/fs/gfs2/file.c @@ -18,7 +18,6 @@ #include #include #include -#include #include #include #include diff --git a/fs/ocfs2/ioctl.c b/fs/ocfs2/ioctl.c index a6fda3c..a1a1bfd 100644 --- a/fs/ocfs2/ioctl.c +++ b/fs/ocfs2/ioctl.c @@ -28,8 +28,6 @@ #include "suballoc.h" #include "move_extents.h" -#include - #define o2info_from_user(a, b) \ copy_from_user(&(a), (b), sizeof(a)) #define o2info_to_user(a, b) \ diff --git a/init/do_mounts_initrd.c b/init/do_mounts_initrd.c index 3098a38..9047330 100644 --- a/init/do_mounts_initrd.c +++ b/init/do_mounts_initrd.c @@ -2,7 +2,6 @@ #include #include #include -#include #include #include #include diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c index 15c6c56..28482f9 100644 --- a/security/selinux/hooks.c +++ b/security/selinux/hooks.c @@ -28,7 +28,6 @@ #include #include #include -#include #include #include #include @@ -2971,15 +2970,15 @@ static int selinux_file_ioctl(struct file *file, unsigned int cmd, /* fall through */ case FIGETBSZ: /* fall through */ - case EXT2_IOC_GETFLAGS: + case FS_IOC_GETFLAGS: /* fall through */ - case EXT2_IOC_GETVERSION: + case FS_IOC_GETVERSION: error = file_has_perm(cred, file, FILE__GETATTR); break; - case EXT2_IOC_SETFLAGS: + case FS_IOC_SETFLAGS: /* fall through */ - case EXT2_IOC_SETVERSION: + case FS_IOC_SETVERSION: error = file_has_perm(cred, file, FILE__SETATTR); break;