]> git.karo-electronics.de Git - linux-beck.git/commit
ext4: get rid of ext4_sb_has_crypto()
authorEric Biggers <ebiggers@google.com>
Thu, 1 Dec 2016 16:54:18 +0000 (11:54 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 1 Dec 2016 16:54:18 +0000 (11:54 -0500)
commit35997d1ce8b01f9f002dd080c59e22430ead6db1
tree1d805b83081ebfcd718dc03978a634d60c0b19f5
parent05ac5aa18abd7db341e54df4ae2b4c98ea0e43b7
ext4: get rid of ext4_sb_has_crypto()

ext4_sb_has_crypto() just called through to ext4_has_feature_encrypt(),
and all callers except one were already using the latter.  So remove it
and switch its one caller to ext4_has_feature_encrypt().

Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/ext4.h
fs/ext4/ioctl.c