mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
vfs: export filemap_fdatawrite_range()
Make filemap_fdatawrite_range() function public, so that it can later be used in ordered mode rewrite by JBD/JBD2. Signed-off-by: Jan Kara <[email protected]>
This commit is contained in:
parent
9ddfc3dc75
commit
f4c0a0fdfa
2 changed files with 4 additions and 1 deletions
|
|
@ -236,11 +236,12 @@ int filemap_fdatawrite(struct address_space *mapping)
|
|||
}
|
||||
EXPORT_SYMBOL(filemap_fdatawrite);
|
||||
|
||||
static int filemap_fdatawrite_range(struct address_space *mapping, loff_t start,
|
||||
int filemap_fdatawrite_range(struct address_space *mapping, loff_t start,
|
||||
loff_t end)
|
||||
{
|
||||
return __filemap_fdatawrite_range(mapping, start, end, WB_SYNC_ALL);
|
||||
}
|
||||
EXPORT_SYMBOL(filemap_fdatawrite_range);
|
||||
|
||||
/**
|
||||
* filemap_flush - mostly a non-blocking flush
|
||||
|
|
|
|||
Loading…
Reference in a new issue