Skip to content

Commit

Permalink
EXPORT_SYMBOL(d_obtain_alias) rather than EXPORT_SYMBOL_GPL
Browse files Browse the repository at this point in the history
Commit 4ea3ada 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.

Signed-off-by: Benny Halevy <bhalevy@panasas.com>
Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Christoph Hellwig <hch@infradead.org>
Cc: "J. Bruce Fields" <bfields@fieldses.org>
Cc: Trond Myklebust <trond.myklebust@fys.uio.no>
Acked-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Benny Halevy authored and Linus Torvalds committed Feb 28, 2009
1 parent dca1714 commit adc4872
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/dcache.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit adc4872

Please sign in to comment.