fscrypto: rename completion callbacks to reflect usage
authorEric Biggers <ebiggers@google.com>
Thu, 15 Sep 2016 20:51:01 +0000 (16:51 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 15 Sep 2016 20:51:01 +0000 (16:51 -0400)
commit53fd7550ec40571e26f730a0d3fc0a5dd93ecda2
tree8c14bec1497c91ece2731e1c9629b4d445afb7a5
parentd83ae730b6f9464e46eaf052ff84d9486c5b4107
fscrypto: rename completion callbacks to reflect usage

fscrypt_complete() was used only for data pages, not for all
encryption/decryption.  Rename it to page_crypt_complete().

dir_crypt_complete() was used for filename encryption/decryption for
both directory entries and symbolic links.  Rename it to
fname_crypt_complete().

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