mirror of
https://github.com/torvalds/linux.git
synced 2024-12-28 13:51:44 +00:00
Staging: lustre: mdc_locks: Remove extra test expression
struct it is already NULL tested before so, it should be removed from the if test expression. Signed-off-by: Shivani Bhardwaj <shivanib134@gmail.com> Reviewed-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
83d6b8fee7
commit
a3aa95f887
@ -885,7 +885,7 @@ resend:
|
||||
|
||||
/* Retry the create infinitely when we get -EINPROGRESS from
|
||||
* server. This is required by the new quota design. */
|
||||
if (it && it->it_op & IT_CREAT &&
|
||||
if (it->it_op & IT_CREAT &&
|
||||
(int)lockrep->lock_policy_res2 == -EINPROGRESS) {
|
||||
mdc_clear_replay_flag(req, rc);
|
||||
ptlrpc_req_finished(req);
|
||||
|
Loading…
Reference in New Issue
Block a user