summaryrefslogtreecommitdiffstats
path: root/fs/ext4
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2017-06-22 21:14:40 +0200
committerTheodore Ts'o <tytso@mit.edu>2017-06-24 02:11:50 +0200
commitc250b7dd8e73b5f7d88d231fbaac92e3360a7234 (patch)
tree01ac03eb6b218396684a906f208c57067bc8fcff /fs/ext4
parentfscrypt: add support for AES-128-CBC (diff)
downloadlinux-c250b7dd8e73b5f7d88d231fbaac92e3360a7234.tar.xz
linux-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')
-rw-r--r--fs/ext4/super.c2
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));
}