summaryrefslogtreecommitdiffstats
path: root/fs/crypto/crypto.c
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2018-05-01 00:51:39 +0200
committerTheodore Ts'o <tytso@mit.edu>2018-05-20 22:21:01 +0200
commit1da2f0ac8ca57475e454e10180ee57a73b9566ec (patch)
treeb931998d1a3ce342b141db7c16ae9a6ea4b1d6cd /fs/crypto/crypto.c
parentfscrypt: remove error messages for skcipher_request_alloc() failure (diff)
downloadlinux-1da2f0ac8ca57475e454e10180ee57a73b9566ec.tar.xz
linux-1da2f0ac8ca57475e454e10180ee57a73b9566ec.zip
fscrypt: remove stale comment from fscrypt_d_revalidate()
Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/crypto/crypto.c')
-rw-r--r--fs/crypto/crypto.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/crypto/crypto.c b/fs/crypto/crypto.c
index ea95d72acb75..f46191b6b3ed 100644
--- a/fs/crypto/crypto.c
+++ b/fs/crypto/crypto.c
@@ -322,7 +322,6 @@ static int fscrypt_d_revalidate(struct dentry *dentry, unsigned int flags)
return 0;
}
- /* this should eventually be an flag in d_flags */
spin_lock(&dentry->d_lock);
cached_with_key = dentry->d_flags & DCACHE_ENCRYPTED_WITH_KEY;
spin_unlock(&dentry->d_lock);