Skip to contentSkip to conversation

make ocfs2_find_entry_el() static

PATCH In review Adrian Bunk 2 participants 2 messages Oct 24, 2007 – Oct 25, 2007 OCFS2

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 make ocfs2_find_entry_el() static

ocfs2_find_entry_el() can become static.

---
d7cac5a6c6884a16fe6fac7b6116f4a41ad7f309

fs/ocfs2/dir.c +3 -3
index 6a2f143..63b28fd 100644
@@ -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];
#1 lore raw
Quoted 1 line · Adrian Bunk

ocfs2_find_entry_el() can become static.

Looks good, thanks Adrian.

	--Mark

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