2007-10-24 16:27:41

by Adrian Bunk

[permalink] [raw]
Subject: [2.6 patch] make ocfs2_find_entry_el() static

ocfs2_find_entry_el() can become static.

Signed-off-by: Adrian Bunk <[email protected]>

---
d7cac5a6c6884a16fe6fac7b6116f4a41ad7f309
diff --git a/fs/ocfs2/dir.c b/fs/ocfs2/dir.c
index 6a2f143..63b28fd 100644
--- a/fs/ocfs2/dir.c
+++ b/fs/ocfs2/dir.c
@@ -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];


2007-10-25 21:44:16

by Mark Fasheh

[permalink] [raw]
Subject: Re: [2.6 patch] make ocfs2_find_entry_el() static

On Wed, Oct 24, 2007 at 06:23:27PM +0200, Adrian Bunk wrote:
> ocfs2_find_entry_el() can become static.

Looks good, thanks Adrian.
--Mark

--
Mark Fasheh
Senior Software Developer, Oracle
[email protected]