diff options
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 (patch) | |
tree | f3f7733cf08903f3d979f95b69148700c668f8b3 /fs/dcache.c | |
parent | d692d397e8a69f4ecdd7fb35ff0140d69bf17e18 (diff) |
useful constants: struct qstr for ".."
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/dcache.c')
-rw-r--r-- | fs/dcache.c | 2 |
1 files 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 |