ceph: do_sync is never initialized
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 28 Nov 2014 08:33:34 +0000 (11:33 +0300)
committerIlya Dryomov <idryomov@redhat.com>
Wed, 17 Dec 2014 17:09:53 +0000 (20:09 +0300)
commit021b77bee210843bed1ea91b5cad58235ff9c8e5
treec0abbfe14bfcd0f8a2ea359a8c4030318c73ba10
parent84a1d2d1ecd9ae2fc1ae51d8529090000e88a210
ceph: do_sync is never initialized

Probably this code was syncing a lot more often then intended because
the do_sync variable wasn't set to zero.

Cc: stable@vger.kernel.org # v3.11+
Fixes: c62988ec0910 ('ceph: avoid meaningless calling ceph_caps_revoking if sync_mode == WB_SYNC_ALL.')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Ilya Dryomov <idryomov@redhat.com>
fs/ceph/addr.c