diff options
author | Randy Dunlap <rdunlap@xenotime.net> | 2006-01-11 15:17:46 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-11 21:42:13 -0500 |
commit | 16f7e0fe2ecc30f30652e8185e1772cdebe39109 (patch) | |
tree | e668703267c7b02f1af3cc1581bb4366a5370fdd /fs/ext3 | |
parent | c59ede7b78db329949d9cdcd7064e22d357560ef (diff) |
[PATCH] capable/capability.h (fs/)
fs: Use <linux/capability.h> where capable() is used.
Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Acked-by: Tim Schmielau <tim@physik3.uni-rostock.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/ext3')
-rw-r--r-- | fs/ext3/acl.c | 1 | ||||
-rw-r--r-- | fs/ext3/balloc.c | 1 | ||||
-rw-r--r-- | fs/ext3/ioctl.c | 1 | ||||
-rw-r--r-- | fs/ext3/xattr_trusted.c | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/fs/ext3/acl.c b/fs/ext3/acl.c index 9ed132c96034..47a9da2dfb4f 100644 --- a/fs/ext3/acl.c +++ b/fs/ext3/acl.c | |||
@@ -7,6 +7,7 @@ | |||
7 | #include <linux/init.h> | 7 | #include <linux/init.h> |
8 | #include <linux/sched.h> | 8 | #include <linux/sched.h> |
9 | #include <linux/slab.h> | 9 | #include <linux/slab.h> |
10 | #include <linux/capability.h> | ||
10 | #include <linux/fs.h> | 11 | #include <linux/fs.h> |
11 | #include <linux/ext3_jbd.h> | 12 | #include <linux/ext3_jbd.h> |
12 | #include <linux/ext3_fs.h> | 13 | #include <linux/ext3_fs.h> |
diff --git a/fs/ext3/balloc.c b/fs/ext3/balloc.c index c6393fb4c35a..6250fcdf14a1 100644 --- a/fs/ext3/balloc.c +++ b/fs/ext3/balloc.c | |||
@@ -13,6 +13,7 @@ | |||
13 | 13 | ||
14 | #include <linux/config.h> | 14 | #include <linux/config.h> |
15 | #include <linux/time.h> | 15 | #include <linux/time.h> |
16 | #include <linux/capability.h> | ||
16 | #include <linux/fs.h> | 17 | #include <linux/fs.h> |
17 | #include <linux/jbd.h> | 18 | #include <linux/jbd.h> |
18 | #include <linux/ext3_fs.h> | 19 | #include <linux/ext3_fs.h> |
diff --git a/fs/ext3/ioctl.c b/fs/ext3/ioctl.c index 706d68608381..556cd5510078 100644 --- a/fs/ext3/ioctl.c +++ b/fs/ext3/ioctl.c | |||
@@ -9,6 +9,7 @@ | |||
9 | 9 | ||
10 | #include <linux/fs.h> | 10 | #include <linux/fs.h> |
11 | #include <linux/jbd.h> | 11 | #include <linux/jbd.h> |
12 | #include <linux/capability.h> | ||
12 | #include <linux/ext3_fs.h> | 13 | #include <linux/ext3_fs.h> |
13 | #include <linux/ext3_jbd.h> | 14 | #include <linux/ext3_jbd.h> |
14 | #include <linux/time.h> | 15 | #include <linux/time.h> |
diff --git a/fs/ext3/xattr_trusted.c b/fs/ext3/xattr_trusted.c index 7c693c94f14d..86d91f1186dc 100644 --- a/fs/ext3/xattr_trusted.c +++ b/fs/ext3/xattr_trusted.c | |||
@@ -7,6 +7,7 @@ | |||
7 | 7 | ||
8 | #include <linux/module.h> | 8 | #include <linux/module.h> |
9 | #include <linux/string.h> | 9 | #include <linux/string.h> |
10 | #include <linux/capability.h> | ||
10 | #include <linux/fs.h> | 11 | #include <linux/fs.h> |
11 | #include <linux/smp_lock.h> | 12 | #include <linux/smp_lock.h> |
12 | #include <linux/ext3_jbd.h> | 13 | #include <linux/ext3_jbd.h> |