aboutsummaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorArjan van de Ven <arjanv@infradead.org>2004-10-27 18:26:09 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-10-27 18:26:09 -0700
commit9c4a29deb1d07eeed3389c436c8240eab9eff060 (patch)
tree8f3e05d2aa24e534f0c880df2799edfeee407017 /mm
parent6763e3e82a975f9ebb6e685d1090cb02f56b54c9 (diff)
downloadhistory-9c4a29deb1d07eeed3389c436c8240eab9eff060.tar.gz
[PATCH] make filemap_fdatawrite_range() static
The patch below marks filemap_fdatawrite_range static, it's not used outside mm/filemap.c. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'mm')
-rw-r--r--mm/filemap.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/mm/filemap.c b/mm/filemap.c
index 382bd020a33fb8..ef66a725b83128 100644
--- a/mm/filemap.c
+++ b/mm/filemap.c
@@ -191,12 +191,11 @@ int filemap_fdatawrite(struct address_space *mapping)
}
EXPORT_SYMBOL(filemap_fdatawrite);
-int filemap_fdatawrite_range(struct address_space *mapping,
+static 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);
/*
* This is a mostly non-blocking flush. Not suitable for data-integrity