VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Al Viro <viro@zeniv.linux.org.uk> 2021-04-15 19:46:50 -0400 committer: Al Viro <viro@zeniv.linux.org.uk> 2021-04-15 22:36:45 -0400 commit: 80e5d1ff5d5f1ed5167a69b7c2fe86071b615f6b parent: d692d397e8a69f4ecdd7fb35ff0140d69bf17e18
Commit Summary:
useful constants: struct qstr for ".."
Diffstat:
1 file changed, 2 insertions, 0 deletions
diff --git a/fs/dcache.c b/fs/dcache.c
index 7d24ff7eb206..cf871a81f4fd 100644
--- a/fs/dcache.c
+++ b/fs/dcache.c
@@ -84,6 +84,8 @@ const struct qstr empty_name = QSTR_INIT("", 0);
 EXPORT_SYMBOL(empty_name);
 const struct qstr slash_name = QSTR_INIT("/", 1);
 EXPORT_SYMBOL(slash_name);
+const struct qstr dotdot_name = QSTR_INIT("..", 2);
+EXPORT_SYMBOL(dotdot_name);
 
 /*
  * This is the single most critical data structure when it comes