diff options
author | Niels de Vos <ndevos@redhat.com> | 2016-07-21 08:12:04 +0200 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2016-07-21 11:05:59 -0700 |
commit | 370197f6e8413c0c4c13571f1c5b613bfa1e50d5 (patch) | |
tree | 403c8fb991c9be0bc9280ddd5f234858ea4e5340 /xlators/experimental | |
parent | f4bbe515097e0149c78c1fc1bae9fb90928e7cd8 (diff) |
md-cache: fix indention to silence Coverity
Coverity complains about the incorrect indention:
*** CID 1357867: Control flow issues (NESTING_INDENT_MISMATCH)
...
2566 if (conf->mdc_invalidation)
2567 ret = mdc_invalidate (this, data);
>>> CID 1357867: Control flow issues (NESTING_INDENT_MISMATCH)
>>> This 'if' statement is indented to column 25, as if it were nested within the preceding parent statement, but it is not.
2568 if (default_notify (this, event, data) != 0)
2569 ret = -1;
2570 break;
...
Even when md-cache does not have cache-invalidation on, we need to pass
the upcall to the next xlator.
Change-Id: I6d2a174eb54e3df270920aae9673b5010c235f25
CID: 1357867
BUG: 1211863
Signed-off-by: Niels de Vos <ndevos@redhat.com>
Reviewed-on: http://review.gluster.org/14971
Smoke: Gluster Build System <jenkins@build.gluster.org>
Reviewed-by: Prashanth Pai <ppai@redhat.com>
Reviewed-by: Poornima G <pgurusid@redhat.com>
Reviewed-by: Raghavendra G <rgowdapp@redhat.com>
CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'xlators/experimental')
0 files changed, 0 insertions, 0 deletions