diff options
author | Bob Peterson <rpeterso@redhat.com> | 2019-02-18 08:37:25 -0700 |
---|---|---|
committer | Bob Peterson <rpeterso@redhat.com> | 2020-02-10 07:39:51 -0600 |
commit | 0d91061a372671aec1af729686ad9241a59fc328 (patch) | |
tree | 1d380e5c0a7c428fdf16b5f6f184c780f3f2df5e /fs/gfs2/util.h | |
parent | 03678a99d13831b938fdc9d81b5a7608fc6ef416 (diff) | |
download | linux-0d91061a372671aec1af729686ad9241a59fc328.tar.bz2 |
gfs2: move check_journal_clean to util.c for future use
Before this patch function check_journal_clean was in ops_fstype.c.
This patch moves it to util.c so we can make use of it elsewhere
in a future patch.
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Reviewed-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'fs/gfs2/util.h')
-rw-r--r-- | fs/gfs2/util.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/gfs2/util.h b/fs/gfs2/util.h index 16b2cc6c4560..cf613497a20e 100644 --- a/fs/gfs2/util.h +++ b/fs/gfs2/util.h @@ -136,6 +136,7 @@ static inline void gfs2_metatype_set(struct buffer_head *bh, u16 type, int gfs2_io_error_i(struct gfs2_sbd *sdp, const char *function, char *file, unsigned int line); +int check_journal_clean(struct gfs2_sbd *sdp, struct gfs2_jdesc *jd); #define gfs2_io_error(sdp) \ gfs2_io_error_i((sdp), __func__, __FILE__, __LINE__); |