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 <[email protected]>
Signed-off-by: Theodore Ts'o <[email protected]>
This commit is contained in:
Eric Biggers 2017-06-22 12:14:40 -07:00 • committed by Theodore Ts'o
commit c250b7dd8e
2 changed files with 2 additions and 2 deletions

View file

@ -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));
}