lkml.org 
[lkml]   [2014]   [May]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 13/13] vfs: dcache: Export d_ancestor to modules
Date
From: Sedat Dilek <sedat.dilek@gmail.com>

With OverlayFS v22 I get the following build error when
CONFIG_OVERLAYFS_FS=m

ERROR: "d_ancestor" [fs/overlayfs/overlayfs.ko] undefined!

Fix this by adding the missing export.

Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
---
fs/dcache.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/fs/dcache.c b/fs/dcache.c
index 42ae01eefc07..b233bfc849de 100644
--- a/fs/dcache.c
+++ b/fs/dcache.c
@@ -2559,6 +2559,7 @@ struct dentry *d_ancestor(struct dentry *p1, struct dentry *p2)
}
return NULL;
}
+EXPORT_SYMBOL(d_ancestor);

/*
* This helper attempts to cope with remotely renamed directories
--
1.8.1.4


\
 
 \ /
  Last update: 2014-05-23 12:21    [W:0.253 / U:0.444 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site