From fcca29d02f5f47838264e02e73f52b85db3db2e6 Mon Sep 17 00:00:00 2001 From: Al Viro Date: Fri, 23 Mar 2012 16:04:05 -0400 Subject: [PATCH] --- yaml --- r: 298364 b: refs/heads/master c: 2f99c36986ff27a86f06f27212c5f5fa8c7164a3 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/fs/gfs2/file.c | 1 - trunk/fs/ocfs2/ioctl.c | 2 -- trunk/init/do_mounts_initrd.c | 1 - trunk/security/selinux/hooks.c | 9 ++++----- 5 files changed, 5 insertions(+), 10 deletions(-) diff --git a/[refs] b/[refs] index e1183fc930f3..e8e77d9b6e21 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 4a165d25f63a989d0aabe9d8eed5b3a5d5da1862 +refs/heads/master: 2f99c36986ff27a86f06f27212c5f5fa8c7164a3 diff --git a/trunk/fs/gfs2/file.c b/trunk/fs/gfs2/file.c index 76834587a8a4..a3d2c9ee8d66 100644 --- a/trunk/fs/gfs2/file.c +++ b/trunk/fs/gfs2/file.c @@ -18,7 +18,6 @@ #include #include #include -#include #include #include #include diff --git a/trunk/fs/ocfs2/ioctl.c b/trunk/fs/ocfs2/ioctl.c index a6fda3c188aa..a1a1bfd652c9 100644 --- a/trunk/fs/ocfs2/ioctl.c +++ b/trunk/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/trunk/init/do_mounts_initrd.c b/trunk/init/do_mounts_initrd.c index 3098a38f3ae1..9047330c73e9 100644 --- a/trunk/init/do_mounts_initrd.c +++ b/trunk/init/do_mounts_initrd.c @@ -2,7 +2,6 @@ #include #include #include -#include #include #include #include diff --git a/trunk/security/selinux/hooks.c b/trunk/security/selinux/hooks.c index 15c6c567468b..28482f9e15b8 100644 --- a/trunk/security/selinux/hooks.c +++ b/trunk/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;