[2.6 patch] make ocfs2_find_entry_el() static
authorAdrian Bunk <bunk@kernel.org>
Wed, 24 Oct 2007 16:23:27 +0000 (18:23 +0200)
committerMark Fasheh <mark.fasheh@oracle.com>
Tue, 6 Nov 2007 23:31:06 +0000 (15:31 -0800)
ocfs2_find_entry_el() can become static.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
fs/ocfs2/dir.c

index 6a2f143e269c338b09989595264722dcf742e4e4..63b28fdceb4a3c7b425e87290d08237b5182a790 100644 (file)
@@ -208,9 +208,9 @@ out:
        return NULL;
 }
 
-struct buffer_head *ocfs2_find_entry_el(const char *name, int namelen,
-                                       struct inode *dir,
-                                       struct ocfs2_dir_entry **res_dir)
+static struct buffer_head *ocfs2_find_entry_el(const char *name, int namelen,
+                                              struct inode *dir,
+                                              struct ocfs2_dir_entry **res_dir)
 {
        struct super_block *sb;
        struct buffer_head *bh_use[NAMEI_RA_SIZE];