]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerJiri Slaby <jslaby@suse.cz>
Mon, 26 Jan 2015 13:39:03 +0000 (14:39 +0100)
commitf844de9aa69cd95c52636e5b4faeaf1353477252
tree76ea582208ababac5db630fe9f4e5acb59b477ba
parent03e6a1dc9b69bed1e6c98ddfeb5232208f79e7a0
ceph: do_sync is never initialized

commit 021b77bee210843bed1ea91b5cad58235ff9c8e5 upstream.

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

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>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
fs/ceph/addr.c