diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/ecryptfs/keystore.c | 2 | ||||
-rw-r--r-- | fs/jffs2/readinode.c | 2 | ||||
-rw-r--r-- | fs/nfs/idmap.c | 7 | ||||
-rw-r--r-- | fs/ocfs2/move_extents.c | 1 | ||||
-rw-r--r-- | fs/xfs/xfs_dir2_node.c | 2 |
5 files changed, 5 insertions, 9 deletions
diff --git a/fs/ecryptfs/keystore.c b/fs/ecryptfs/keystore.c index 27a7fefb83eb..fa8049ecdc64 100644 --- a/fs/ecryptfs/keystore.c +++ b/fs/ecryptfs/keystore.c | |||
@@ -2248,7 +2248,7 @@ write_tag_3_packet(char *dest, size_t *remaining_bytes, | |||
2248 | auth_tok->token.password.session_key_encryption_key, | 2248 | auth_tok->token.password.session_key_encryption_key, |
2249 | crypt_stat->key_size); | 2249 | crypt_stat->key_size); |
2250 | ecryptfs_printk(KERN_DEBUG, | 2250 | ecryptfs_printk(KERN_DEBUG, |
2251 | "Cached session key " "encryption key: \n"); | 2251 | "Cached session key encryption key:\n"); |
2252 | if (ecryptfs_verbosity > 0) | 2252 | if (ecryptfs_verbosity > 0) |
2253 | ecryptfs_dump_hex(session_key_encryption_key, 16); | 2253 | ecryptfs_dump_hex(session_key_encryption_key, 16); |
2254 | } | 2254 | } |
diff --git a/fs/jffs2/readinode.c b/fs/jffs2/readinode.c index 2ab1a0d91210..ee57bac1ba6d 100644 --- a/fs/jffs2/readinode.c +++ b/fs/jffs2/readinode.c | |||
@@ -1041,7 +1041,7 @@ static int jffs2_get_inode_nodes(struct jffs2_sb_info *c, struct jffs2_inode_inf | |||
1041 | /* FIXME: point() */ | 1041 | /* FIXME: point() */ |
1042 | err = jffs2_flash_read(c, ref_offset(ref), len, &retlen, buf); | 1042 | err = jffs2_flash_read(c, ref_offset(ref), len, &retlen, buf); |
1043 | if (err) { | 1043 | if (err) { |
1044 | JFFS2_ERROR("can not read %d bytes from 0x%08x, " "error code: %d.\n", len, ref_offset(ref), err); | 1044 | JFFS2_ERROR("can not read %d bytes from 0x%08x, error code: %d.\n", len, ref_offset(ref), err); |
1045 | goto free_out; | 1045 | goto free_out; |
1046 | } | 1046 | } |
1047 | 1047 | ||
diff --git a/fs/nfs/idmap.c b/fs/nfs/idmap.c index 79664a1025af..f20801ae0a16 100644 --- a/fs/nfs/idmap.c +++ b/fs/nfs/idmap.c | |||
@@ -36,6 +36,8 @@ | |||
36 | #include <linux/types.h> | 36 | #include <linux/types.h> |
37 | #include <linux/string.h> | 37 | #include <linux/string.h> |
38 | #include <linux/kernel.h> | 38 | #include <linux/kernel.h> |
39 | #include <linux/slab.h> | ||
40 | #include <linux/nfs_idmap.h> | ||
39 | 41 | ||
40 | static int nfs_map_string_to_numeric(const char *name, size_t namelen, __u32 *res) | 42 | static int nfs_map_string_to_numeric(const char *name, size_t namelen, __u32 *res) |
41 | { | 43 | { |
@@ -59,12 +61,10 @@ static int nfs_map_numeric_to_string(__u32 id, char *buf, size_t buflen) | |||
59 | 61 | ||
60 | #ifdef CONFIG_NFS_USE_NEW_IDMAPPER | 62 | #ifdef CONFIG_NFS_USE_NEW_IDMAPPER |
61 | 63 | ||
62 | #include <linux/slab.h> | ||
63 | #include <linux/cred.h> | 64 | #include <linux/cred.h> |
64 | #include <linux/sunrpc/sched.h> | 65 | #include <linux/sunrpc/sched.h> |
65 | #include <linux/nfs4.h> | 66 | #include <linux/nfs4.h> |
66 | #include <linux/nfs_fs_sb.h> | 67 | #include <linux/nfs_fs_sb.h> |
67 | #include <linux/nfs_idmap.h> | ||
68 | #include <linux/keyctl.h> | 68 | #include <linux/keyctl.h> |
69 | #include <linux/key-type.h> | 69 | #include <linux/key-type.h> |
70 | #include <linux/rcupdate.h> | 70 | #include <linux/rcupdate.h> |
@@ -284,18 +284,15 @@ int nfs_map_gid_to_group(const struct nfs_server *server, __u32 gid, char *buf, | |||
284 | #include <linux/module.h> | 284 | #include <linux/module.h> |
285 | #include <linux/mutex.h> | 285 | #include <linux/mutex.h> |
286 | #include <linux/init.h> | 286 | #include <linux/init.h> |
287 | #include <linux/slab.h> | ||
288 | #include <linux/socket.h> | 287 | #include <linux/socket.h> |
289 | #include <linux/in.h> | 288 | #include <linux/in.h> |
290 | #include <linux/sched.h> | 289 | #include <linux/sched.h> |
291 | |||
292 | #include <linux/sunrpc/clnt.h> | 290 | #include <linux/sunrpc/clnt.h> |
293 | #include <linux/workqueue.h> | 291 | #include <linux/workqueue.h> |
294 | #include <linux/sunrpc/rpc_pipe_fs.h> | 292 | #include <linux/sunrpc/rpc_pipe_fs.h> |
295 | 293 | ||
296 | #include <linux/nfs_fs.h> | 294 | #include <linux/nfs_fs.h> |
297 | 295 | ||
298 | #include <linux/nfs_idmap.h> | ||
299 | #include "nfs4_fs.h" | 296 | #include "nfs4_fs.h" |
300 | 297 | ||
301 | #define IDMAP_HASH_SZ 128 | 298 | #define IDMAP_HASH_SZ 128 |
diff --git a/fs/ocfs2/move_extents.c b/fs/ocfs2/move_extents.c index cd9427023d2e..d53cb706f14c 100644 --- a/fs/ocfs2/move_extents.c +++ b/fs/ocfs2/move_extents.c | |||
@@ -36,7 +36,6 @@ | |||
36 | #include "dir.h" | 36 | #include "dir.h" |
37 | #include "buffer_head_io.h" | 37 | #include "buffer_head_io.h" |
38 | #include "sysfile.h" | 38 | #include "sysfile.h" |
39 | #include "suballoc.h" | ||
40 | #include "refcounttree.h" | 39 | #include "refcounttree.h" |
41 | #include "move_extents.h" | 40 | #include "move_extents.h" |
42 | 41 | ||
diff --git a/fs/xfs/xfs_dir2_node.c b/fs/xfs/xfs_dir2_node.c index 084b3247d636..0179a41d9e5a 100644 --- a/fs/xfs/xfs_dir2_node.c +++ b/fs/xfs/xfs_dir2_node.c | |||
@@ -1564,7 +1564,7 @@ xfs_dir2_node_addname_int( | |||
1564 | 1564 | ||
1565 | if (unlikely(xfs_dir2_db_to_fdb(mp, dbno) != fbno)) { | 1565 | if (unlikely(xfs_dir2_db_to_fdb(mp, dbno) != fbno)) { |
1566 | xfs_alert(mp, | 1566 | xfs_alert(mp, |
1567 | "%s: dir ino " "%llu needed freesp block %lld for\n" | 1567 | "%s: dir ino %llu needed freesp block %lld for\n" |
1568 | " data block %lld, got %lld ifbno %llu lastfbno %d", | 1568 | " data block %lld, got %lld ifbno %llu lastfbno %d", |
1569 | __func__, (unsigned long long)dp->i_ino, | 1569 | __func__, (unsigned long long)dp->i_ino, |
1570 | (long long)xfs_dir2_db_to_fdb(mp, dbno), | 1570 | (long long)xfs_dir2_db_to_fdb(mp, dbno), |