Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e2f2886a authored by Pavel Shilovsky's avatar Pavel Shilovsky Committed by Steve French
Browse files

CIFS: Fix error handling in cifs_push_mandatory_locks



Cc: <stable@vger.kernel.org>
Signed-off-by: default avatarPavel Shilovsky <pshilovsky@etersoft.ru>
Signed-off-by: default avatarSteve French <smfrench@gmail.com>
parent 5b716ac7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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++) {