summaryrefslogtreecommitdiff
path: root/fs/gfs2/recovery.h
diff options
context:
space:
mode:
authorBob Peterson <rpeterso@redhat.com>2019-02-13 23:12:17 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2019-02-14 20:52:51 +0300
commit23e93c9b2cde73f9912d0d8534adbddd3dcc48f4 (patch)
tree66c103f5e6a065beb4c152a9f6b6c3cfede767b4 /fs/gfs2/recovery.h
parentb6ea7bcf77831ee5741e903738a19c94715b15e9 (diff)
downloadlinux-23e93c9b2cde73f9912d0d8534adbddd3dcc48f4.tar.xz
Revert "gfs2: read journal in large chunks to locate the head"
This reverts commit 2a5f14f279f59143139bcd1606903f2f80a34241. This patch causes xfstests generic/311 to fail. Reverting this for now until we have a proper fix. Signed-off-by: Abhi Das <adas@redhat.com> Signed-off-by: Bob Peterson <rpeterso@redhat.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/gfs2/recovery.h')
-rw-r--r--fs/gfs2/recovery.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/gfs2/recovery.h b/fs/gfs2/recovery.h
index 99575ab81202..11d81248be85 100644
--- a/fs/gfs2/recovery.h
+++ b/fs/gfs2/recovery.h
@@ -27,6 +27,8 @@ extern int gfs2_revoke_add(struct gfs2_jdesc *jd, u64 blkno, unsigned int where)
extern int gfs2_revoke_check(struct gfs2_jdesc *jd, u64 blkno, unsigned int where);
extern void gfs2_revoke_clean(struct gfs2_jdesc *jd);
+extern int gfs2_find_jhead(struct gfs2_jdesc *jd,
+ struct gfs2_log_header_host *head);
extern int gfs2_recover_journal(struct gfs2_jdesc *gfs2_jd, bool wait);
extern void gfs2_recover_func(struct work_struct *work);
extern int __get_log_header(struct gfs2_sbd *sdp,