fscrypt: move fscrypt_is_dot_dotdot() to fs/crypto/fname.c
authorEric Biggers <ebiggers@google.com>
Fri, 5 Jan 2018 18:44:59 +0000 (10:44 -0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Sun, 8 Apr 2018 09:40:09 +0000 (02:40 -0700)
commit411771ab56f45d2f61ab83b905cff2d3706fb308
treeab2e34f2e31da7f237f2fbdba1f6cc28628d1575
parentad35db34396bbaabb5a06fbc965a33f6b15ac9c5
fscrypt: move fscrypt_is_dot_dotdot() to fs/crypto/fname.c

Only fs/crypto/fname.c cares about treating the "." and ".." filenames
specially with regards to encryption, so move fscrypt_is_dot_dotdot()
from fscrypt.h to there.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/crypto/fname.c
include/linux/fscrypt.h