ANDROID: fs: Export d_absolute_path
authorGuenter Roeck <groeck@chromium.org>
Thu, 24 Mar 2016 17:32:35 +0000 (10:32 -0700)
committerDaniel Rosenberg <drosen@google.com>
Tue, 30 Jan 2018 03:40:12 +0000 (19:40 -0800)
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 34c852af215c0f1ff2d73800ed0bc02c9a2f0794..694f5da1a0a9d316b3730202ebd2a8bda18c79b3 100644 (file)
@@ -3223,6 +3223,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.