summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/fscrypt.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/include/linux/fscrypt.h b/include/linux/fscrypt.h
index b03cb23728ea..f71d6326936e 100644
--- a/include/linux/fscrypt.h
+++ b/include/linux/fscrypt.h
@@ -53,17 +53,6 @@ struct fscrypt_name {
#define fname_name(p) ((p)->disk_name.name)
#define fname_len(p) ((p)->disk_name.len)
-static inline bool fscrypt_is_dot_dotdot(const struct qstr *str)
-{
- if (str->len == 1 && str->name[0] == '.')
- return true;
-
- if (str->len == 2 && str->name[0] == '.' && str->name[1] == '.')
- return true;
-
- return false;
-}
-
#if __FS_HAS_ENCRYPTION
#include <linux/fscrypt_supp.h>
#else