summaryrefslogtreecommitdiff
path: root/fs/ext4/inode.c
diff options
context:
space:
mode:
authorStephen Hemminger <stephen@networkplumber.org>2014-05-12 18:50:23 +0400
committerTheodore Ts'o <tytso@mit.edu>2014-05-12 18:50:23 +0400
commitc197855ea14175a25003c276824689e8ba318e53 (patch)
treeb01d69bebe4c4dc5ca276447ec9d16bece30c723 /fs/ext4/inode.c
parente674e5cbd0942b42a12106ac0be8330f4301bef4 (diff)
downloadlinux-c197855ea14175a25003c276824689e8ba318e53.tar.xz
ext4: make local functions static
I have been running make namespacecheck to look for unneeded globals, and found these in ext4. Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/inode.c')
-rw-r--r--fs/ext4/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c
index 04dd2de10796..574c6dda95d8 100644
--- a/fs/ext4/inode.c
+++ b/fs/ext4/inode.c
@@ -3443,7 +3443,7 @@ unlock:
* This required during truncate. We need to physically zero the tail end
* of that block so it doesn't yield old data if the file is later grown.
*/
-int ext4_block_truncate_page(handle_t *handle,
+static int ext4_block_truncate_page(handle_t *handle,
struct address_space *mapping, loff_t from)
{
unsigned offset = from & (PAGE_CACHE_SIZE-1);