]> git.karo-electronics.de Git - linux-beck.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)
commitcffaba15cd95d4a16eb5a6aa5c22a79f67d555ab
treed752174022e8444c70afb27e798e032163f89ac9
parentd3002b974cefbb7c1e325cc296966f768ff76b06
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