Loading fs/cifs/transport.c +26 −25 Original line number Diff line number Diff line Loading @@ -344,7 +344,9 @@ static int wait_for_free_request(struct cifsSesInfo *ses, const int long_op) if (long_op == CIFS_ASYNC_OP) { /* oplock breaks must not be held up */ atomic_inc(&ses->server->inFlight); } else { return 0; } spin_lock(&GlobalMid_Lock); while (1) { if (atomic_read(&ses->server->inFlight) >= Loading Loading @@ -376,7 +378,6 @@ static int wait_for_free_request(struct cifsSesInfo *ses, const int long_op) break; } } } return 0; } Loading Loading
fs/cifs/transport.c +26 −25 Original line number Diff line number Diff line Loading @@ -344,7 +344,9 @@ static int wait_for_free_request(struct cifsSesInfo *ses, const int long_op) if (long_op == CIFS_ASYNC_OP) { /* oplock breaks must not be held up */ atomic_inc(&ses->server->inFlight); } else { return 0; } spin_lock(&GlobalMid_Lock); while (1) { if (atomic_read(&ses->server->inFlight) >= Loading Loading @@ -376,7 +378,6 @@ static int wait_for_free_request(struct cifsSesInfo *ses, const int long_op) break; } } } return 0; } Loading