[patch] ceph: do_sync is never initialized

2014-11-28 Thread Dan Carpenter
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.carpen...@oracle.com --- Static checker stuff.

Re: [patch] ceph: do_sync is never initialized

2014-11-28 Thread Ilya Dryomov
On Fri, Nov 28, 2014 at 11:33 AM, Dan Carpenter dan.carpen...@oracle.com wrote: 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 ==