diff options
author | Alex Elder <elder@inktank.com> | 2012-10-22 11:31:26 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-17 08:46:49 -0800 |
commit | d741dc0695e62bcd1b7cfc7a8baa1f9e95fd07c7 (patch) | |
tree | d0869ce21f8a580756132ade60d67b04025c94de /drivers | |
parent | 2042c7c78b7819daff3033ef4868c8dc7fc34a09 (diff) |
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 <elder@inktank.com>
Reviewed-by: Dan Mick <dan.mick@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/block/rbd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/rbd.c b/drivers/block/rbd.c index 88e5dbe10633..b5e5ffec9c05 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 */ |