[PATCH] EXPORT_SYMBOL(d_obtain_alias) rather than EXPORT_SYMBOL_GPL

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Benny Halevy
Date: Tuesday, February 24, 2009 - 1:11 pm

Commit 4ea3ada2955e4519befa98ff55dd62d6dfbd1705
declares d_obtain_alias() as EXPORT_SYMBOL_GPL
where it's supposed to replace d_alloc_anon which
was previously declared as EXPORT_SYMBOL and thus
available to any loadable module.

This patch reverts that, as discussed below:

On Feb. 21, 2009, 11:40 -0800, Andrew Morton <akpm@linux-foundation.org> wrote:
...
...

On Feb. 21, 2009, 11:49 -0800, Linus Torvalds <torvalds@linux-foundation.org> wrote:

Signed-off-by: Benny Halevy <bhalevy@panasas.com>
---
 fs/dcache.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/fs/dcache.c b/fs/dcache.c
index 937df0f..07e2d4a 100644
--- a/fs/dcache.c
+++ b/fs/dcache.c
@@ -1180,7 +1180,7 @@ struct dentry *d_obtain_alias(struct inode *inode)
 	iput(inode);
 	return res;
 }
-EXPORT_SYMBOL_GPL(d_obtain_alias);
+EXPORT_SYMBOL(d_obtain_alias);
 
 /**
  * d_splice_alias - splice a disconnected dentry into the tree if one exists
-- 
1.6.1.3


--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Ping: d_obtain_alias, Benny Halevy, (Sat Feb 21, 12:13 am)
Re: Ping: d_obtain_alias, Benny Halevy, (Sat Feb 21, 1:41 am)
Re: Ping: d_obtain_alias, Christoph Hellwig, (Sat Feb 21, 10:40 am)
Re: Ping: d_obtain_alias, Andrew Morton, (Sat Feb 21, 12:40 pm)
Re: Ping: d_obtain_alias, Linus Torvalds, (Sat Feb 21, 12:49 pm)
[PATCH] EXPORT_SYMBOL(d_obtain_alias) rather than EXPORT_S ..., Benny Halevy, (Tue Feb 24, 1:11 pm)