Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
2f99c369
Commit
2f99c369
authored
Mar 23, 2012
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
get rid of pointless includes of ext2_fs.h
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
4a165d25
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
9 deletions
+4
-9
fs/gfs2/file.c
fs/gfs2/file.c
+0
-1
fs/ocfs2/ioctl.c
fs/ocfs2/ioctl.c
+0
-2
init/do_mounts_initrd.c
init/do_mounts_initrd.c
+0
-1
security/selinux/hooks.c
security/selinux/hooks.c
+4
-5
No files found.
fs/gfs2/file.c
View file @
2f99c369
...
...
@@ -18,7 +18,6 @@
#include <linux/mount.h>
#include <linux/fs.h>
#include <linux/gfs2_ondisk.h>
#include <linux/ext2_fs.h>
#include <linux/falloc.h>
#include <linux/swap.h>
#include <linux/crc32.h>
...
...
fs/ocfs2/ioctl.c
View file @
2f99c369
...
...
@@ -28,8 +28,6 @@
#include "suballoc.h"
#include "move_extents.h"
#include <linux/ext2_fs.h>
#define o2info_from_user(a, b) \
copy_from_user(&(a), (b), sizeof(a))
#define o2info_to_user(a, b) \
...
...
init/do_mounts_initrd.c
View file @
2f99c369
...
...
@@ -2,7 +2,6 @@
#include <linux/kernel.h>
#include <linux/fs.h>
#include <linux/minix_fs.h>
#include <linux/ext2_fs.h>
#include <linux/romfs_fs.h>
#include <linux/initrd.h>
#include <linux/sched.h>
...
...
security/selinux/hooks.c
View file @
2f99c369
...
...
@@ -28,7 +28,6 @@
#include <linux/kernel.h>
#include <linux/tracehook.h>
#include <linux/errno.h>
#include <linux/ext2_fs.h>
#include <linux/sched.h>
#include <linux/security.h>
#include <linux/xattr.h>
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment