linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andrei Vagin <avagin@gmail.com>
To: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: linux-fsdevel@vger.kernel.org, Andrei Vagin <avagin@gmail.com>
Subject: [PATCH vfs/for-next] smack: fix parsing mount options
Date: Wed, 19 Dec 2018 22:25:41 -0800	[thread overview]
Message-ID: <20181220062541.12348-1-avagin@gmail.com> (raw)

Recent changes removed "smack" prefix from smack mount options.

Fixes: 53c1d44b9071 ("smack: rewrite smack_sb_eat_lsm_opts()")
Signed-off-by: Andrei Vagin <avagin@gmail.com>
---
 security/smack/smack_lsm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/security/smack/smack_lsm.c b/security/smack/smack_lsm.c
index 603ed7d20ab4..11da1e2531c8 100644
--- a/security/smack/smack_lsm.c
+++ b/security/smack/smack_lsm.c
@@ -61,7 +61,7 @@ static LIST_HEAD(smk_ipv6_port_list);
 static struct kmem_cache *smack_inode_cache;
 int smack_enabled;
 
-#define A(s) {#s, sizeof(#s) - 1, Opt_##s}
+#define A(s) {"smack"#s, sizeof("smack"#s) - 1, Opt_##s}
 static struct {
 	const char *name;
 	int len;
-- 
2.17.2

                 reply	other threads:[~2018-12-20  6:25 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20181220062541.12348-1-avagin@gmail.com \
    --to=avagin@gmail.com \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=viro@zeniv.linux.org.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).