gfs2: Split gfs2_lm_withdraw into two functions
Split gfs2_lm_withdraw into a function that prints an error message and a function that withdraws the filesystem. Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com> Signed-off-by: Bob Peterson <rpeterso@redhat.com>
This commit is contained in:

committed by
Bob Peterson

orang tua
6e5e41e2dc
melakukan
badb55ec20
@@ -177,6 +177,7 @@ static inline bool gfs2_withdrawn(struct gfs2_sbd *sdp)
|
||||
gfs2_tune_get_i(&(sdp)->sd_tune, &(sdp)->sd_tune.field)
|
||||
|
||||
__printf(2, 3)
|
||||
int gfs2_lm_withdraw(struct gfs2_sbd *sdp, const char *fmt, ...);
|
||||
void gfs2_lm(struct gfs2_sbd *sdp, const char *fmt, ...);
|
||||
int gfs2_withdraw(struct gfs2_sbd *sdp);
|
||||
|
||||
#endif /* __UTIL_DOT_H__ */
|
||||
|
Reference in New Issue
Block a user