aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/linux-2.6/xfs_sync.h
diff options
context:
space:
mode:
authorDavid Chinner <david@fromorbit.com>2008-10-30 17:06:08 +1100
committerLachlan McIlroy <lachlan@sgi.com>2008-10-30 17:06:08 +1100
commitfe4fa4b8e463fa5848ef9e86ed75d27501d0da1e (patch)
tree8b3ec6b29f7bb2c604aebb7d9e99b2670ec5e87e /fs/xfs/linux-2.6/xfs_sync.h
parent34519daae6778d129d56688f75ade27f6011bac9 (diff)
downloadkernel_samsung_smdk4412-fe4fa4b8e463fa5848ef9e86ed75d27501d0da1e.zip
kernel_samsung_smdk4412-fe4fa4b8e463fa5848ef9e86ed75d27501d0da1e.tar.gz
kernel_samsung_smdk4412-fe4fa4b8e463fa5848ef9e86ed75d27501d0da1e.tar.bz2
[XFS] move sync code to its own file
The sync code in XFS is spread around several files. While it used to make sense to have such a distribution, the code is about to be cleaned up and so centralising it in one spot as the first step makes sense. SGI-PV: 988139 SGI-Modid: xfs-linux-melb:xfs-kern:32282a Signed-off-by: David Chinner <david@fromorbit.com> Signed-off-by: Lachlan McIlroy <lachlan@sgi.com> Signed-off-by: Christoph Hellwig <hch@infradead.org>
Diffstat (limited to 'fs/xfs/linux-2.6/xfs_sync.h')
-rw-r--r--fs/xfs/linux-2.6/xfs_sync.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/fs/xfs/linux-2.6/xfs_sync.h b/fs/xfs/linux-2.6/xfs_sync.h
new file mode 100644
index 0000000..f4c3b1e
--- /dev/null
+++ b/fs/xfs/linux-2.6/xfs_sync.h
@@ -0,0 +1,7 @@
+#ifndef XFS_SYNC_H
+#define XFS_SYNC_H 1
+
+int xfs_sync(struct xfs_mount *mp, int flags);
+int xfs_syncsub(struct xfs_mount *mp, int flags, int *bypassed);
+
+#endif