summaryrefslogtreecommitdiffstats
path: root/fs/logfs/segment.c
diff options
context:
space:
mode:
authorJoern Engel <joern@logfs.org>2010-03-30 18:25:17 +0200
committerJoern Engel <joern@logfs.org>2010-03-30 18:25:17 +0200
commite05c378f4973674a16d5b9636f2310cf88aca5f2 (patch)
tree58beed3ac4007e00ad58e4391f9d13ada1f9b918 /fs/logfs/segment.c
parent6be7fa06eb4d721df734bd0946b5e63b27c0589b (diff)
downloadlinux-e05c378f4973674a16d5b9636f2310cf88aca5f2.tar.bz2
[LogFS] Remove unused method
All callers are long gone. Signed-off-by: Joern Engel <joern@logfs.org>
Diffstat (limited to 'fs/logfs/segment.c')
-rw-r--r--fs/logfs/segment.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/fs/logfs/segment.c b/fs/logfs/segment.c
index 0ecd8f07c11e..02db22ebbf13 100644
--- a/fs/logfs/segment.c
+++ b/fs/logfs/segment.c
@@ -182,14 +182,8 @@ static int btree_write_alias(struct super_block *sb, struct logfs_block *block,
return 0;
}
-static gc_level_t btree_block_level(struct logfs_block *block)
-{
- return expand_level(block->ino, block->level);
-}
-
static struct logfs_block_ops btree_block_ops = {
.write_block = btree_write_block,
- .block_level = btree_block_level,
.free_block = __free_block,
.write_alias = btree_write_alias,
};