]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
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)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 12 Jan 2018 03:06:19 +0000 (22:06 -0500)
commitdcf0db9e5df369461c9d55282abbf66d263ef2db
tree978917917ce988575ed66ce0bf45bd4008d8d13b
parentbb8179e5a8509876415c0eac6f6ba8a130b3cb47
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