[LU-3744] wrong flags type in ll_lov_setea() Created: 13/Aug/13 Updated: 13/Sep/13 Resolved: 27/Aug/13 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.4.0 |
| Fix Version/s: | Lustre 2.4.1, Lustre 2.5.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Niu Yawei (Inactive) | Assignee: | Niu Yawei (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Severity: | 3 |
| Rank (Obsolete): | 9661 |
| Description |
|
We set MDS_OPEN_HAS_OBJS to 'int flags' in ll_lov_setea(), which will overflow flags to -1. |
| Comments |
| Comment by Niu Yawei (Inactive) [ 13/Aug/13 ] |
|
This overflow can result in setea (mostly used by lfsck) failed for -EPERM. patch for master: http://review.whamcloud.com/7312 |
| Comment by Jian Yu [ 15/Aug/13 ] |
|
Hi Oleg, Could you please cherry-pick the patch to Lustre b2_4 branch? Thanks. The patch is needed by the patch for |
| Comment by Niu Yawei (Inactive) [ 27/Aug/13 ] |
|
landed on b2_4 & master. |