summaryrefslogtreecommitdiffstats
path: root/fs/ext4/super.c
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2017-06-22 12:14:40 -0700
committerTheodore Ts'o <tytso@mit.edu>2017-06-23 20:11:50 -0400
commitc250b7dd8e73b5f7d88d231fbaac92e3360a7234 (patch)
tree01ac03eb6b218396684a906f208c57067bc8fcff /fs/ext4/super.c
parentb7e7cf7a66a27e62c5f873a0068cee34094bf5d7 (diff)
downloadop-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 'fs/ext4/super.c')
-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 0b177da..f01d2c5 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));
}
OpenPOWER on IntegriCloud