diff options
author | Eric Biggers <ebiggers@google.com> | 2017-06-22 12:14:40 -0700 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2017-06-23 20:11:50 -0400 |
commit | c250b7dd8e73b5f7d88d231fbaac92e3360a7234 (patch) | |
tree | 01ac03eb6b218396684a906f208c57067bc8fcff /include/linux/fscrypt_common.h | |
parent | b7e7cf7a66a27e62c5f873a0068cee34094bf5d7 (diff) | |
download | op-kernel-dev-c250b7dd8e73b5f7d88d231fbaac92e3360a7234.zip op-kernel-dev-c250b7dd8e73b5f7d88d231fbaac92e3360a7234.tar.gz |
fscrypt: make ->dummy_context() return bool
This makes it consistent with ->is_encrypted(), ->empty_dir(), and
fscrypt_dummy_context_enabled().
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'include/linux/fscrypt_common.h')
-rw-r--r-- | include/linux/fscrypt_common.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/fscrypt_common.h b/include/linux/fscrypt_common.h index 4022c61..e3e1208 100644 --- a/include/linux/fscrypt_common.h +++ b/include/linux/fscrypt_common.h @@ -77,7 +77,7 @@ struct fscrypt_operations { const char *key_prefix; int (*get_context)(struct inode *, void *, size_t); int (*set_context)(struct inode *, const void *, size_t, void *); - int (*dummy_context)(struct inode *); + bool (*dummy_context)(struct inode *); bool (*is_encrypted)(struct inode *); bool (*empty_dir)(struct inode *); unsigned (*max_namelen)(struct inode *); |