* [-mm patch] fs/namei.c: make lookup_hash() static
@ 2006-02-03 21:04 Adrian Bunk
0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2006-02-03 21:04 UTC (permalink / raw)
To: Andrew Morton, Christoph Hellwig; +Cc: linux-kernel
As announced, lookup_hash() can now become static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
---
Documentation/feature-removal-schedule.txt | 7 -------
fs/namei.c | 3 +--
include/linux/namei.h | 1 -
3 files changed, 1 insertion(+), 10 deletions(-)
--- linux-2.6.16-rc1-mm5-full/Documentation/feature-removal-schedule.txt.old 2006-02-03 16:44:06.000000000 +0100
+++ linux-2.6.16-rc1-mm5-full/Documentation/feature-removal-schedule.txt 2006-02-03 16:44:16.000000000 +0100
@@ -116,13 +116,6 @@
---------------------------
-What: EXPORT_SYMBOL(lookup_hash)
-When: January 2006
-Why: Too low-level interface. Use lookup_one_len or lookup_create instead.
-Who: Christoph Hellwig <hch@lst.de>
-
----------------------------
-
What: CONFIG_FORCED_INLINING
When: June 2006
Why: Config option is there to see if gcc is good enough. (in january
--- linux-2.6.16-rc1-mm5-full/include/linux/namei.h.old 2006-02-03 16:44:22.000000000 +0100
+++ linux-2.6.16-rc1-mm5-full/include/linux/namei.h 2006-02-03 16:44:26.000000000 +0100
@@ -75,7 +75,6 @@
extern void release_open_intent(struct nameidata *);
extern struct dentry * lookup_one_len(const char *, struct dentry *, int);
-extern __deprecated_for_modules struct dentry * lookup_hash(struct nameidata *);
extern int follow_down(struct vfsmount **, struct dentry **);
extern int follow_up(struct vfsmount **, struct dentry **);
--- linux-2.6.16-rc1-mm5-full/fs/namei.c.old 2006-02-03 16:44:34.000000000 +0100
+++ linux-2.6.16-rc1-mm5-full/fs/namei.c 2006-02-03 16:44:46.000000000 +0100
@@ -1248,7 +1248,7 @@
return dentry;
}
-struct dentry * lookup_hash(struct nameidata *nd)
+static struct dentry * lookup_hash(struct nameidata *nd)
{
return __lookup_hash(&nd->last, nd->dentry, nd);
}
@@ -2661,7 +2661,6 @@
EXPORT_SYMBOL(get_write_access); /* binfmt_aout */
EXPORT_SYMBOL(getname);
EXPORT_SYMBOL(lock_rename);
-EXPORT_SYMBOL(lookup_hash);
EXPORT_SYMBOL(lookup_one_len);
EXPORT_SYMBOL(page_follow_link_light);
EXPORT_SYMBOL(page_put_link);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-02-03 21:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-03 21:04 [-mm patch] fs/namei.c: make lookup_hash() static Adrian Bunk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox