summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorGuenter Roeck <groeck@chromium.org>2016-03-24 10:32:35 -0700
committerAmit Pundir <amit.pundir@linaro.org>2016-04-07 16:50:03 +0530
commitd023b7c5eef07aa8273710ff7625e7a512aa90a8 (patch)
tree0eb5d8373db79bf36e59aee8321110e6b42fb4ca /fs
parent1a98a1b1e6af9dbd7a0d4253b13f9d2d83124053 (diff)
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 <fengguang.wu@intel.com> Signed-off-by: Guenter Roeck <groeck@chromium.org>
Diffstat (limited to 'fs')
-rw-r--r--fs/dcache.c1
1 files changed, 1 insertions, 0 deletions
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.