]> 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)
commit776bbaa758670ec17c667e44f86f06d21bea8908
treed752174022e8444c70afb27e798e032163f89ac9
parent5354895f45f3ecae84d146b5109d71ba05c6f324
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