Commit be466c1c authored by Alex Elder's avatar Alex Elder

rbd: fix read-only option name

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: default avatarAlex Elder <elder@inktank.com>
Reviewed-by: default avatarDan Mick <dan.mick@inktank.com>
Reviewed-by: default avatarJosh Durgin <josh.durgin@inktank.com>
parent a0ea3a40
...@@ -397,7 +397,7 @@ enum { ...@@ -397,7 +397,7 @@ enum {
static match_table_t rbd_opts_tokens = { static match_table_t rbd_opts_tokens = {
/* int args above */ /* int args above */
/* string args above */ /* string args above */
{Opt_read_only, "mapping.read_only"}, {Opt_read_only, "read_only"},
{Opt_read_only, "ro"}, /* Alternate spelling */ {Opt_read_only, "ro"}, /* Alternate spelling */
{Opt_read_write, "read_write"}, {Opt_read_write, "read_write"},
{Opt_read_write, "rw"}, /* Alternate spelling */ {Opt_read_write, "rw"}, /* Alternate spelling */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment