aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOGAWA Hirofumi <hirofumi@mail.parknet.co.jp>2013-01-08 20:46:26 +0900
committerDaniel Phillips <daniel@tux3.org>2013-01-08 20:46:26 +0900
commitd7cadd6e99a06a7c7bd9566cda388b9eccd74b97 (patch)
tree519ae56492dca3a946d282497a2ccfe5b1296fae
parentbd234d8c596119321785f03856dbe3088c242c9e (diff)
downloadlinux-tux3-d7cadd6e99a06a7c7bd9566cda388b9eccd74b97.tar.gz
tux3: Remove to return the count of log block
We don't use it anymore. Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
-rw-r--r--fs/tux3/log.c4
-rw-r--r--fs/tux3/tux3.h2
2 files changed, 2 insertions, 4 deletions
diff --git a/fs/tux3/log.c b/fs/tux3/log.c
index 5dc08075086333..bb4e5a830fd47a 100644
--- a/fs/tux3/log.c
+++ b/fs/tux3/log.c
@@ -111,7 +111,7 @@ void log_finish(struct sb *sb)
}
}
-int log_finish_cycle(struct sb *sb)
+void log_finish_cycle(struct sb *sb)
{
struct buffer_head *logbuf;
unsigned count = sb->lognext;
@@ -126,8 +126,6 @@ int log_finish_cycle(struct sb *sb)
}
/* Initialize for new delta cycle */
sb->lognext = 0;
-
- return count;
}
static void *log_begin(struct sb *sb, unsigned bytes)
diff --git a/fs/tux3/tux3.h b/fs/tux3/tux3.h
index c9df68488bd40e..c0bfb2a83037d5 100644
--- a/fs/tux3/tux3.h
+++ b/fs/tux3/tux3.h
@@ -796,7 +796,7 @@ extern unsigned log_size[];
void log_next(struct sb *sb, int pin);
void log_drop(struct sb *sb);
void log_finish(struct sb *sb);
-int log_finish_cycle(struct sb *sb);
+void log_finish_cycle(struct sb *sb);
int tux3_logmap_io(int rw, struct bufvec *bufvec);
void log_balloc(struct sb *sb, block_t block, unsigned count);
void log_bfree(struct sb *sb, block_t block, unsigned count);