CephFS subvolume quarantine needs a dentry alias for its RCU ancestry walk without acquiring a dentry reference. d_find_alias_rcu() provides that lookup, but is unavailable to a modular Ceph client. Export d_find_alias_rcu() to GPL modules. The Ceph quarantine state handling patch uses the export with the helper's RCU lifetime rules. Signed-off-by: Alex Markuze --- fs/dcache.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/dcache.c b/fs/dcache.c index 1b1a81f10da67c608704383086c3facb64ee3b3b..13ba553081b33a54fd8d1cac5cbc55d0149e4ad7 100644 --- a/fs/dcache.c +++ b/fs/dcache.c @@ -1248,6 +1248,7 @@ struct dentry *d_find_alias_rcu(struct inode *inode) spin_unlock(&inode->i_lock); return de; } +EXPORT_SYMBOL_GPL(d_find_alias_rcu); /* * Try to kill dentries associated with this inode.