]> git.baikalelectronics.ru Git - kernel.git/commit
ceph: ensure Boolean options support both senses
authorAlex Elder <elder@dreamhost.com>
Wed, 15 Feb 2012 13:43:54 +0000 (07:43 -0600)
committerAlex Elder <elder@dreamhost.com>
Thu, 22 Mar 2012 15:47:51 +0000 (10:47 -0500)
commitf46c8244bb6b7bc095c11ec0f5ca04381a2e9c3a
treed752174022e8444c70afb27e798e032163f89ac9
parent1e7572e88eb3d834099caacd5ff3f578b7d08b2b
ceph: ensure Boolean options support both senses

Many ceph-related Boolean options offer the ability to both enable
and disable a feature.  For all those that don't offer this, add
a new option so that they do.

Note that ceph_show_options()--which reports mount options currently
in effect--only reports the option if it is different from the
default value.

Signed-off-by: Alex Elder <elder@dreamhost.com>
Signed-off-by: Sage Weil <sage@newdream.net>
fs/ceph/super.c
net/ceph/ceph_common.c