summaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/file.c
diff options
context:
space:
mode:
authorAdrian Bunk2007-04-26 09:29:35 +0200
committerMark Fasheh2007-05-03 00:07:27 +0200
commit6cb129f5675c39944e5fe18fd2530a2eb771b754 (patch)
tree18290b53d302573632c0d5f906a0b4af8f8d4b39 /fs/ocfs2/file.c
parentocfs2: Implement compat_ioctl() (diff)
downloadkernel-qcow2-linux-6cb129f5675c39944e5fe18fd2530a2eb771b754.tar.gz
kernel-qcow2-linux-6cb129f5675c39944e5fe18fd2530a2eb771b754.tar.xz
kernel-qcow2-linux-6cb129f5675c39944e5fe18fd2530a2eb771b754.zip
[PATCH] fs/ocfs2/: make 3 functions static
This patch makes the following needlessly global functions static: - aops.c: ocfs2_write_data_page() - dlmglue.c: ocfs2_dump_meta_lvb_info() - file.c: ocfs2_set_inode_size() Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
Diffstat (limited to 'fs/ocfs2/file.c')
-rw-r--r--fs/ocfs2/file.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/ocfs2/file.c b/fs/ocfs2/file.c
index 3b5a1576ae10..7c7b5683f778 100644
--- a/fs/ocfs2/file.c
+++ b/fs/ocfs2/file.c
@@ -207,10 +207,10 @@ out:
return ret;
}
-int ocfs2_set_inode_size(handle_t *handle,
- struct inode *inode,
- struct buffer_head *fe_bh,
- u64 new_i_size)
+static int ocfs2_set_inode_size(handle_t *handle,
+ struct inode *inode,
+ struct buffer_head *fe_bh,
+ u64 new_i_size)
{
int status;