projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7fc95a9
)
ANDROID: sdcardfs: Add support for d_canonical_path
author
Daniel Rosenberg
<drosen@google.com>
Fri, 12 Feb 2016 00:53:36 +0000
(16:53 -0800)
committer
Daniel Rosenberg
<drosen@google.com>
Tue, 30 Jan 2018 03:39:59 +0000
(19:39 -0800)
Change-Id: I5d6f0e71b8ca99aec4b0894412f1dfd1cfe12add
Signed-off-by: Daniel Rosenberg <drosen@google.com>
fs/sdcardfs/dentry.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/sdcardfs/dentry.c
b/fs/sdcardfs/dentry.c
index dbbcfd091fc782837015ca4cd42c6d6edab380b2..971928ab6c216eeea41db43fd47566001329ab65 100644
(file)
--- a/
fs/sdcardfs/dentry.c
+++ b/
fs/sdcardfs/dentry.c
@@
-172,10
+172,15
@@
static int sdcardfs_cmp_ci(const struct dentry *parent,
return 1;
}
+static void sdcardfs_canonical_path(const struct path *path, struct path *actual_path) {
+ sdcardfs_get_real_lower(path->dentry, actual_path);
+}
+
const struct dentry_operations sdcardfs_ci_dops = {
.d_revalidate = sdcardfs_d_revalidate,
.d_release = sdcardfs_d_release,
.d_hash = sdcardfs_hash_ci,
.d_compare = sdcardfs_cmp_ci,
+ .d_canonical_path = sdcardfs_canonical_path,
};