summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuenter Roeck <groeck@chromium.org>2016-03-24 10:32:35 -0700
committerGuenter Roeck <groeck@chromium.org>2016-03-24 10:32:35 -0700
commitcdaa7dcb05f7955e855fa816c21c3210088ca2b8 (patch)
treeea3920bcc5e8308b717d7dd0bdd556693134dde4
parent7581abb2ceff034995e098de33282f4c7c8dd0c7 (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>
-rw-r--r--fs/dcache.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/dcache.c b/fs/dcache.c
index 5c33aeb0f68f..065da6950eb4 100644
--- a/fs/dcache.c
+++ b/fs/dcache.c
@@ -3027,6 +3027,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.