BACKPORT: Smack - Fix build error with bringup unconfigured
authorCasey Schaufler <casey@schaufler-ca.com>
Wed, 12 Aug 2015 18:56:02 +0000 (11:56 -0700)
committerRafal Krypa <r.krypa@samsung.com>
Mon, 21 Nov 2016 16:02:05 +0000 (17:02 +0100)
commit39ee73cc8f3b8b83defaac0f2a9133582e220fa7
tree4e2bf5fb09fae6c15fd417143816b5472d3f9454
parent783ce03474b2b0663c1e39595a48ea29fa74d9aa
BACKPORT: Smack - Fix build error with bringup unconfigured

The changes for mounting binary filesystems was allied
improperly, with the list of tokens being in an ifdef that
it shouldn't have been. Fix that, and a couple style issues
that were bothering me.

Reported-by: Jim Davis <jim.epost@gmail.com>
Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
(cherry-picked from upstream 3d04c92403d377918c9a3bddab6ee103f0db25dd)
security/smack/smack_lsm.c