fs: Export d_absolute_path
authorGuenter Roeck <groeck@chromium.org>
Thu, 24 Mar 2016 17:32:35 +0000 (10:32 -0700)
committerAmit Pundir <amit.pundir@linaro.org>
Thu, 7 Apr 2016 11:20:03 +0000 (16:50 +0530)
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>
fs/dcache.c

index 877bcbbd03ff549a8536bf289dac294f659645b9..24190e8b78604e02b4b512c5b52722c65b36e189 100644 (file)
@@ -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.