Skip to content

Commit

Permalink
rbd: fix read-only option name
Browse files Browse the repository at this point in the history
The name of the "read-only" mapping option was inadvertently changed
in this commit:

    f84344f rbd: separate mapping info in rbd_dev

Revert that hunk to return it to what it should be.

Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Dan Mick <dan.mick@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
  • Loading branch information
Alex Elder committed Oct 26, 2012
1 parent a0ea3a4 commit be466c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/block/rbd.c
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,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 */
Expand Down

0 comments on commit be466c1

Please sign in to comment.