diff options
Diffstat (limited to 'fs/gfs2/meta_io.c')
-rw-r--r-- | fs/gfs2/meta_io.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/fs/gfs2/meta_io.c b/fs/gfs2/meta_io.c index 939a09f6e885..fbeba813c973 100644 --- a/fs/gfs2/meta_io.c +++ b/fs/gfs2/meta_io.c | |||
@@ -574,20 +574,3 @@ out: | |||
574 | return first_bh; | 574 | return first_bh; |
575 | } | 575 | } |
576 | 576 | ||
577 | /** | ||
578 | * gfs2_meta_syncfs - sync all the buffers in a filesystem | ||
579 | * @sdp: the filesystem | ||
580 | * | ||
581 | */ | ||
582 | |||
583 | void gfs2_meta_syncfs(struct gfs2_sbd *sdp) | ||
584 | { | ||
585 | gfs2_log_flush(sdp, NULL); | ||
586 | for (;;) { | ||
587 | gfs2_ail1_start(sdp, DIO_ALL); | ||
588 | if (gfs2_ail1_empty(sdp, DIO_ALL)) | ||
589 | break; | ||
590 | msleep(10); | ||
591 | } | ||
592 | } | ||
593 | |||