summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorEric Biggers2017-06-22 21:14:40 +0200
committerTheodore Ts'o2017-06-24 02:11:50 +0200
commitc250b7dd8e73b5f7d88d231fbaac92e3360a7234 (patch)
tree01ac03eb6b218396684a906f208c57067bc8fcff /fs
parentfscrypt: add support for AES-128-CBC (diff)
downloadkernel-qcow2-linux-c250b7dd8e73b5f7d88d231fbaac92e3360a7234.tar.gz
kernel-qcow2-linux-c250b7dd8e73b5f7d88d231fbaac92e3360a7234.tar.xz
kernel-qcow2-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')
-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));
}