From: Alex Elder Date: Mon, 22 Oct 2012 16:31:26 +0000 (-0500) Subject: rbd: fix read-only option name X-Git-Tag: v3.7.3~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d741dc0695e62bcd1b7cfc7a8baa1f9e95fd07c7;p=thirdparty%2Fkernel%2Fstable.git rbd: fix read-only option name (cherry picked from commit be466c1cc36621590ef17b05a6d342dfd33f7280) The name of the "read-only" mapping option was inadvertently changed in this commit: f84344f3 rbd: separate mapping info in rbd_dev Revert that hunk to return it to what it should be. Signed-off-by: Alex Elder Reviewed-by: Dan Mick Reviewed-by: Josh Durgin Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/block/rbd.c b/drivers/block/rbd.c index 88e5dbe106338..b5e5ffec9c054 100644 --- a/drivers/block/rbd.c +++ b/drivers/block/rbd.c @@ -388,7 +388,7 @@ enum { static match_table_t rbd_opts_tokens = { /* int args above */ /* string args above */ - {Opt_read_only, "mapping.read_only"}, + {Opt_read_only, "read_only"}, {Opt_read_only, "ro"}, /* Alternate spelling */ {Opt_read_write, "read_write"}, {Opt_read_write, "rw"}, /* Alternate spelling */