diff --git a/lustre/lvfs/llog_lvfs.c b/lustre/lvfs/llog_lvfs.c
index 66e96865f2eea0a92a23667e1d0b2008b1936928..4b4d90e7fffc6e6321956c14d5a32c9d06f7a197 100644
--- a/lustre/lvfs/llog_lvfs.c
+++ b/lustre/lvfs/llog_lvfs.c
@@ -914,8 +914,8 @@ int llog_lvfs_prev_block(struct llog_handle *loghandle,
         return 0;
 }
 
-int llog_lvfs_next_block(struct llog_handle *loghandle, 
-                         int next_idx, void *buf, int len)
+int llog_lvfs_next_block(struct llog_handle *h, int *curr_idx,
+                         int next_idx, __u64 *offset, void *buf, int len)
 {
         LBUG();
         return 0;