From 2846476e791af9b434df2b69925dc4a5dfe5f5f8 Mon Sep 17 00:00:00 2001 From: Jiro SEKIBA Date: Fri, 8 Oct 2010 22:37:27 +0900 Subject: [PATCH] --- yaml --- r: 213769 b: refs/heads/master c: abc0b50b6b9a9de8ae210f059598265a5438f2c4 h: refs/heads/master i: 213767: 4f368e7f4e60c3096689371d86c15f03c8f98d3c v: v3 --- [refs] | 2 +- trunk/fs/nilfs2/dat.c | 3 ++- trunk/fs/nilfs2/super.c | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 8d6d7e2e4e5a..44bb2eba823c 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 026a7d63d55ba8656ed8c8a0733265cc7d47bb8c +refs/heads/master: abc0b50b6b9a9de8ae210f059598265a5438f2c4 diff --git a/trunk/fs/nilfs2/dat.c b/trunk/fs/nilfs2/dat.c index ab04a68f425d..49c844dab33a 100644 --- a/trunk/fs/nilfs2/dat.c +++ b/trunk/fs/nilfs2/dat.c @@ -103,7 +103,8 @@ void nilfs_dat_abort_alloc(struct inode *dat, struct nilfs_palloc_req *req) nilfs_palloc_abort_alloc_entry(dat, req); } -void nilfs_dat_commit_free(struct inode *dat, struct nilfs_palloc_req *req) +static void nilfs_dat_commit_free(struct inode *dat, + struct nilfs_palloc_req *req) { struct nilfs_dat_entry *entry; void *kaddr; diff --git a/trunk/fs/nilfs2/super.c b/trunk/fs/nilfs2/super.c index 8e77016bafae..ab629078f4e2 100644 --- a/trunk/fs/nilfs2/super.c +++ b/trunk/fs/nilfs2/super.c @@ -68,7 +68,7 @@ MODULE_DESCRIPTION("A New Implementation of the Log-structured Filesystem " "(NILFS)"); MODULE_LICENSE("GPL"); -struct kmem_cache *nilfs_inode_cachep; +static struct kmem_cache *nilfs_inode_cachep; struct kmem_cache *nilfs_transaction_cachep; struct kmem_cache *nilfs_segbuf_cachep; struct kmem_cache *nilfs_btree_path_cache;