From: Guenter Roeck Date: Thu, 24 Mar 2016 17:32:35 +0000 (-0700) Subject: fs: Export d_absolute_path X-Git-Tag: firefly_0821_release~176^2~425 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=d023b7c5eef07aa8273710ff7625e7a512aa90a8;p=firefly-linux-kernel-4.4.55.git fs: Export d_absolute_path The 0-day build bot reports the following build error, seen if SDCARD_FS is built as module. ERROR: "d_absolute_path" undefined! Fixes: 84a1b7d3d312 ("Included sdcardfs source code for kernel 3.0") Reported-by: Fengguang Wu Signed-off-by: Guenter Roeck --- diff --git a/fs/dcache.c b/fs/dcache.c index 877bcbbd03ff..24190e8b7860 100644 --- a/fs/dcache.c +++ b/fs/dcache.c @@ -3017,6 +3017,7 @@ char *d_absolute_path(const struct path *path, return ERR_PTR(error); return res; } +EXPORT_SYMBOL(d_absolute_path); /* * same as __d_path but appends "(deleted)" for unlinked files.