summaryrefslogtreecommitdiffstats
path: root/include/linux/fs.h
diff options
context:
space:
mode:
authorMiklos Szeredi <mszeredi@redhat.com>2016-07-29 08:10:57 -0400
committerMiklos Szeredi <mszeredi@redhat.com>2016-07-29 08:10:57 -0400
commitd72d9e2a5d7ec04a1f92925c5ac633d8031fa7fc (patch)
treee6a7cfe53cd3b0f75e911d5b435a5ee483150de5 /include/linux/fs.h
parent9446385f05c9af25fed53dbed3cc75763730be52 (diff)
mm: export filemap_check_errors() to modules
Can be used by fuse, btrfs and f2fs to replace opencoded variants. Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'include/linux/fs.h')
-rw-r--r--include/linux/fs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h
index dd288148a6b1..6f2536a3a916 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -2507,6 +2507,7 @@ extern int __filemap_fdatawrite_range(struct address_space *mapping,
2507 loff_t start, loff_t end, int sync_mode); 2507 loff_t start, loff_t end, int sync_mode);
2508extern int filemap_fdatawrite_range(struct address_space *mapping, 2508extern int filemap_fdatawrite_range(struct address_space *mapping,
2509 loff_t start, loff_t end); 2509 loff_t start, loff_t end);
2510extern int filemap_check_errors(struct address_space *mapping);
2510 2511
2511extern int vfs_fsync_range(struct file *file, loff_t start, loff_t end, 2512extern int vfs_fsync_range(struct file *file, loff_t start, loff_t end,
2512 int datasync); 2513 int datasync);