[LU-6879] tgt_request_handle has unnecessary req->export != NULL check Created: 19/Jul/15 Updated: 24/Mar/16 Resolved: 24/Mar/16 |
|
| Status: | Closed |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.8.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Oleg Drokin | Assignee: | Gregoire Pichon |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Severity: | 3 |
| Rank (Obsolete): | 9223372036854775807 |
| Description |
|
Added by recent multislot code: tsi->tsi_tgt = tgt = class_exp2tgt(req->rq_export);
...
/* check request's xid is consistent with export's last_xid */
if (req->rq_export != NULL) {
...
At this point we certainly cannot have NULL req->rq_export so that condition is totally unneeded. |
| Comments |
| Comment by Gerrit Updater [ 21/Jul/15 ] |
|
Grégoire Pichon (gregoire.pichon@bull.net) uploaded a new patch: http://review.whamcloud.com/15661 |
| Comment by Gregoire Pichon [ 04/Jan/16 ] |
|
This ticket can be closed since the patch http://review.whamcloud.com/#/c/16759/ updates that portion of code and removes the unneeded condition. This patch was merged on 09/Dec/2015. |