commit | d750ec720f4d4b2fbc8bd9cf30a86dcb4bdf70ae | [log] [tgz] |
---|---|---|
author | Eric Biggers <ebiggers@google.com> | Mon Oct 09 12:15:36 2017 -0700 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Thu Jan 04 18:47:04 2018 -0800 |
tree | 5b2b07ef1cac9200a55ed31154fe02ab4b0fdea7 | |
parent | 685285b0b3d9c4c05e20652bcddc0d1ca7588cb4 [diff] |
fscrypt: switch from ->is_encrypted() to IS_ENCRYPTED() IS_ENCRYPTED() now gives the same information as i_sb->s_cop->is_encrypted() but is more efficient, since IS_ENCRYPTED() is just a simple flag check. Prepare to remove ->is_encrypted() by switching all callers to IS_ENCRYPTED(). Acked-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>