mirror of https://gitee.com/openkylin/linux.git
CIFS: Fix error handling in cifs_push_mandatory_locks
Cc: <stable@vger.kernel.org> Signed-off-by: Pavel Shilovsky <pshilovsky@etersoft.ru> Signed-off-by: Steve French <smfrench@gmail.com>
This commit is contained in:
parent
5b716ac728
commit
e2f2886a82
|
@ -917,7 +917,7 @@ cifs_push_mandatory_locks(struct cifsFileInfo *cfile)
|
|||
if (!buf) {
|
||||
mutex_unlock(&cinode->lock_mutex);
|
||||
free_xid(xid);
|
||||
return rc;
|
||||
return -ENOMEM;
|
||||
}
|
||||
|
||||
for (i = 0; i < 2; i++) {
|
||||
|
|
Loading…
Reference in New Issue