projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
vfs: Fix sys_sync() and fsync_super() reliability (version 4)
[firefly-linux-kernel-4.4.55.git]
/
fs
/
internal.h
diff --git
a/fs/internal.h
b/fs/internal.h
index 6d4ef208ef65949f9acb38d4086075f185e6da3c..343a537ab809755d503684a649ae81940da26bc8 100644
(file)
--- a/
fs/internal.h
+++ b/
fs/internal.h
@@
-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