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 /fs/ext4/super.c | |
parent | b7e7cf7a66a27e62c5f873a0068cee34094bf5d7 (diff) | |
download | lwn-c250b7dd8e73b5f7d88d231fbaac92e3360a7234.tar.gz lwn-c250b7dd8e73b5f7d88d231fbaac92e3360a7234.zip |
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 'fs/ext4/super.c')
-rw-r--r-- | fs/ext4/super.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/super.c b/fs/ext4/super.c index 0b177da9ea82..f01d2c5bc3fa 100644 --- a/fs/ext4/super.c +++ b/fs/ext4/super.c @@ -1205,7 +1205,7 @@ retry: return res; } -static int ext4_dummy_context(struct inode *inode) +static bool ext4_dummy_context(struct inode *inode) { return DUMMY_ENCRYPTION_ENABLED(EXT4_SB(inode->i_sb)); } |