]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf10a14ab1dad6205e60b41f0b7b936705f443712
treec0abbfe14bfcd0f8a2ea359a8c4030318c73ba10
parent07d49032049b202c6cb8170ec2f4632395087099
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: 9c8e7cc8530c ('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