aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_log_recover.c
diff options
context:
space:
mode:
authorEric Sandeen <sandeen@sgi.com>2006-01-10 23:34:19 -0500
committerNathan Scott <nathans@sgi.com>2006-01-10 23:34:19 -0500
commit65be60541909c7bf8c384cde3502c18cc362939e (patch)
tree6a8edc80147e7e444c74eb15d122dfb325013b49 /fs/xfs/xfs_log_recover.c
parent0d14824c0774d050cb4232e1e470e5fc9e32e587 (diff)
[XFS] remove unused "readonly" arg from xlog_find_tail and xlog_recover
SGI-PV: 946611 SGI-Modid: xfs-linux-melb:xfs-kern:203307a Signed-off-by: Eric Sandeen <sandeen@sgi.com> Signed-off-by: Nathan Scott <nathans@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_log_recover.c')
-rw-r--r--fs/xfs/xfs_log_recover.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/fs/xfs/xfs_log_recover.c b/fs/xfs/xfs_log_recover.c
index 8ab7df768063..d0c9fc4fed60 100644
--- a/fs/xfs/xfs_log_recover.c
+++ b/fs/xfs/xfs_log_recover.c
@@ -783,8 +783,7 @@ int
783xlog_find_tail( 783xlog_find_tail(
784 xlog_t *log, 784 xlog_t *log,
785 xfs_daddr_t *head_blk, 785 xfs_daddr_t *head_blk,
786 xfs_daddr_t *tail_blk, 786 xfs_daddr_t *tail_blk)
787 int readonly)
788{ 787{
789 xlog_rec_header_t *rhead; 788 xlog_rec_header_t *rhead;
790 xlog_op_header_t *op_head; 789 xlog_op_header_t *op_head;
@@ -3890,14 +3889,13 @@ xlog_do_recover(
3890 */ 3889 */
3891int 3890int
3892xlog_recover( 3891xlog_recover(
3893 xlog_t *log, 3892 xlog_t *log)
3894 int readonly)
3895{ 3893{
3896 xfs_daddr_t head_blk, tail_blk; 3894 xfs_daddr_t head_blk, tail_blk;
3897 int error; 3895 int error;
3898 3896
3899 /* find the tail of the log */ 3897 /* find the tail of the log */
3900 if ((error = xlog_find_tail(log, &head_blk, &tail_blk, readonly))) 3898 if ((error = xlog_find_tail(log, &head_blk, &tail_blk)))
3901 return error; 3899 return error;
3902 3900
3903 if (tail_blk != head_blk) { 3901 if (tail_blk != head_blk) {