commit | eea2c05d927b031034e222110a4fc34914d97ca4 | [log] [tgz] |
---|---|---|
author | Sascha Hauer <s.hauer@pengutronix.de> | Tue Mar 26 08:52:31 2019 +0100 |
committer | Richard Weinberger <richard@nod.at> | Tue May 07 21:58:31 2019 +0200 |
tree | a5fc633c4d6795d332e247aa7bdc280c32df7388 | |
parent | 9ca2d732644484488db31123ecd3bf122b551566 [diff] |
ubifs: Remove #ifdef around CONFIG_FS_ENCRYPTION ifdefs reduce readablity and compile coverage. This removes the ifdefs around CONFIG_FS_ENCRYPTION by using IS_ENABLED and relying on static inline wrappers. A new static inline wrapper for setting sb->s_cop is introduced to allow filesystems to unconditionally compile in their s_cop operations. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Richard Weinberger <richard@nod.at>