[LU-6512] ll_dir_ioctl has some pretty strange code now. Created: 27/Apr/15 Updated: 03/May/16 Resolved: 03/May/16 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.9.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Oleg Drokin | Assignee: | WC Triage |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | easy, patch | ||
| Severity: | 3 |
| Rank (Obsolete): | 9223372036854775807 |
| Description |
|
smatch highlighted thid interesting piece in ll_dir_ioctl that results from a bit of code change by commit 60e07b972114df24105a3a1bfa7365892f72a4a7 rc = ll_dir_getstripe(inode, (void **)&lmm, &lmmsize, &request,
valid);
if (rc != 0)
GOTO(finish_req, rc);
/* Get default LMV EA */
if (lum.lum_magic == LMV_USER_MAGIC) {
if (rc != 0)
GOTO(finish_req, rc);
note the two identical comparisons. |
| Comments |
| Comment by Ulka Vaze (Inactive) [ 21/May/15 ] |
|
Hi, -Ulka |
| Comment by Gerrit Updater [ 18/Jan/16 ] |
|
Parinay Kondekar (parinay.kondekar@seagate.com) uploaded a new patch: http://review.whamcloud.com/18027 |
| Comment by Gerrit Updater [ 02/May/16 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/18027/ |
| Comment by Joseph Gmitter (Inactive) [ 03/May/16 ] |
|
Landed to master for 2.9.0 |