vfs: Fix sys_sync() and fsync_super() reliability (version 4)
[firefly-linux-kernel-4.4.55.git] / fs / internal.h
index 6d4ef208ef65949f9acb38d4086075f185e6da3c..343a537ab809755d503684a649ae81940da26bc8 100644 (file)
@@ -71,3 +71,12 @@ extern void chroot_fs_refs(struct path *, struct path *);
  * file_table.c
  */
 extern void mark_files_ro(struct super_block *);
+
+/*
+ * super.c
+ */
+#ifdef CONFIG_BLOCK
+extern void sync_blockdevs(void);
+#else
+static inline void sync_blockdevs(void) { }
+#endif