summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAlex Elder <elder@inktank.com>2012-10-22 18:31:26 +0200
committerAlex Elder <elder@inktank.com>2012-10-27 00:18:08 +0200
commitbe466c1cc36621590ef17b05a6d342dfd33f7280 (patch)
treef00e31530ca830a265f74b8545758e08d5e58827 /drivers
parentrbd: zero return code in rbd_dev_image_id() (diff)
downloadlinux-be466c1cc36621590ef17b05a6d342dfd33f7280.tar.xz
linux-be466c1cc36621590ef17b05a6d342dfd33f7280.zip
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: Alex Elder <elder@inktank.com> Reviewed-by: Dan Mick <dan.mick@inktank.com> Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/block/rbd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/rbd.c b/drivers/block/rbd.c
index 94d613208c4f..5d9e2cc5c51e 100644
--- a/drivers/block/rbd.c
+++ b/drivers/block/rbd.c
@@ -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 */