[LU-4501] lustre don't able to build with invariants enabled Created: 17/Jan/14 Updated: 17/Jan/14 Resolved: 17/Jan/14 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.6.0 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Blocker |
| Reporter: | Alexey Lyashkov | Assignee: | WC Triage |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Severity: | 3 |
| Rank (Obsolete): | 12314 |
| Description |
|
cc1: warnings being treated as errors |
| Comments |
| Comment by Alexey Lyashkov [ 17/Jan/14 ] |
|
looks typo error in code. [root@rhel6-64 osc]# git diff osc_lock.c diff --git a/lustre/osc/osc_lock.c b/lustre/osc/osc_lock.c index e06a900..8016db6 100644 --- a/lustre/osc/osc_lock.c +++ b/lustre/osc/osc_lock.c @@ -1482,7 +1482,7 @@ static int osc_lock_has_pages(struct osc_lock *olck) io->ci_ignore_layout = 1; cl_io_init(env, io, CIT_MISC, io->ci_obj); do { - result = osc_page_gang_lookup(env, oob, io, + result = osc_page_gang_lookup(env, io, oob, descr->cld_start, descr->cld_end, check_cb, (void *)lock); if (result == CLP_GANG_ABORT) |
| Comment by Dmitry Eremin (Inactive) [ 17/Jan/14 ] |
|
The same as |