]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rbd: omit 'rw' option during map 807/head
authorJosh Durgin <josh.durgin@inktank.com>
Sat, 2 Nov 2013 02:02:29 +0000 (19:02 -0700)
committerJosh Durgin <josh.durgin@inktank.com>
Sat, 2 Nov 2013 02:08:35 +0000 (19:08 -0700)
commitfb0f1986449b53908a6d17d4398270da64aa8f07
tree7cba6db45d09a4894aabd48d4907192917efa745
parente043b6d07831d3d6d515002632febd6012b3db69
rbd: omit 'rw' option during map

The ro and rw options were added in linux 3.7. To be compatible with
older kernels, don't specify rw. The default will probably always be
rw, so this should not present any problems in the future.

Reported-by: nicolasc <nicolas.canceill@surfsara.nl>
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
src/rbd.cc