summaryrefslogtreecommitdiffstats
path: root/fs/gfs2/meta_io.c
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2006-11-23 17:06:35 +0100
committerSteven Whitehouse <swhiteho@redhat.com>2006-11-30 16:36:45 +0100
commita25311c8e0b7071b129ca9a9e49e22eeaf620864 (patch)
tree6da042d3f24461b88d968d0ca7b85b37252c5e5a /fs/gfs2/meta_io.c
parent[GFS2] Fix journal flush problem (diff)
downloadlinux-a25311c8e0b7071b129ca9a9e49e22eeaf620864.tar.xz
linux-a25311c8e0b7071b129ca9a9e49e22eeaf620864.zip
[GFS2] Move gfs2_meta_syncfs() into log.c
By moving gfs2_meta_syncfs() into log.c, gfs2_ail1_start() can be made static. Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/meta_io.c')
-rw-r--r--fs/gfs2/meta_io.c17
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:
return first_bh;
}
-/**
- * gfs2_meta_syncfs - sync all the buffers in a filesystem
- * @sdp: the filesystem
- *
- */
-
-void gfs2_meta_syncfs(struct gfs2_sbd *sdp)
-{
- gfs2_log_flush(sdp, NULL);
- for (;;) {
- gfs2_ail1_start(sdp, DIO_ALL);
- if (gfs2_ail1_empty(sdp, DIO_ALL))
- break;
- msleep(10);
- }
-}
-