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>
This commit is contained in:
Alex Elder 2012-10-22 11:31:26 -05:00
Родитель a0ea3a40fd
Коммит be466c1cc3
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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 */