Commit 10a9fda1 authored by Konstantin Baev's avatar Konstantin Baev

Update all sources:

fixed error in cifs_lock_storage: don't remove lock from pid list if unlocking failed by server
parent f773d5ed
......@@ -169,9 +169,10 @@ static int __cifs_lock_storage_del_lock(int xid, struct cifsTconInfo *pTcon, str
1, 0, li->type, FALSE);
if (tmp_rc) {
rc = tmp_rc;
} else {
list_del(&li->lock_list);
kfree(li);
}
list_del(&li->lock_list);
kfree(li);
}
}
if (list_empty(&((*exist)->lock_list))) {
......
......@@ -169,9 +169,10 @@ static int __cifs_lock_storage_del_lock(int xid, struct cifsTconInfo *pTcon, str
1, 0, li->type, FALSE);
if (tmp_rc) {
rc = tmp_rc;
} else {
list_del(&li->lock_list);
kfree(li);
}
list_del(&li->lock_list);
kfree(li);
}
}
if (list_empty(&((*exist)->lock_list))) {
......
......@@ -169,9 +169,10 @@ static int __cifs_lock_storage_del_lock(int xid, struct cifsTconInfo *pTcon, str
1, 0, li->type, FALSE);
if (tmp_rc) {
rc = tmp_rc;
} else {
list_del(&li->lock_list);
kfree(li);
}
list_del(&li->lock_list);
kfree(li);
}
}
if (list_empty(&((*exist)->lock_list))) {
......
......@@ -169,9 +169,10 @@ static int __cifs_lock_storage_del_lock(int xid, struct cifsTconInfo *pTcon, str
1, 0, li->type, FALSE);
if (tmp_rc) {
rc = tmp_rc;
} else {
list_del(&li->lock_list);
kfree(li);
}
list_del(&li->lock_list);
kfree(li);
}
}
if (list_empty(&((*exist)->lock_list))) {
......
......@@ -169,9 +169,10 @@ static int __cifs_lock_storage_del_lock(int xid, struct cifsTconInfo *pTcon, str
1, 0, li->type, false);
if (tmp_rc) {
rc = tmp_rc;
} else {
list_del(&li->lock_list);
kfree(li);
}
list_del(&li->lock_list);
kfree(li);
}
}
if (list_empty(&((*exist)->lock_list))) {
......
......@@ -169,9 +169,10 @@ static int __cifs_lock_storage_del_lock(int xid, struct cifsTconInfo *pTcon, str
1, 0, li->type, false);
if (tmp_rc) {
rc = tmp_rc;
} else {
list_del(&li->lock_list);
kfree(li);
}
list_del(&li->lock_list);
kfree(li);
}
}
if (list_empty(&((*exist)->lock_list))) {
......
......@@ -169,9 +169,10 @@ static int __cifs_lock_storage_del_lock(int xid, struct cifsTconInfo *pTcon, str
1, 0, li->type, false);
if (tmp_rc) {
rc = tmp_rc;
} else {
list_del(&li->lock_list);
kfree(li);
}
list_del(&li->lock_list);
kfree(li);
}
}
if (list_empty(&((*exist)->lock_list))) {
......
......@@ -169,9 +169,10 @@ static int __cifs_lock_storage_del_lock(int xid, struct cifsTconInfo *pTcon, str
1, 0, li->type, false);
if (tmp_rc) {
rc = tmp_rc;
} else {
list_del(&li->lock_list);
kfree(li);
}
list_del(&li->lock_list);
kfree(li);
}
}
if (list_empty(&((*exist)->lock_list))) {
......
......@@ -169,9 +169,10 @@ static int __cifs_lock_storage_del_lock(int xid, struct cifsTconInfo *pTcon, str
1, 0, li->type, FALSE);
if (tmp_rc) {
rc = tmp_rc;
} else {
list_del(&li->lock_list);
kfree(li);
}
list_del(&li->lock_list);
kfree(li);
}
}
if (list_empty(&((*exist)->lock_list))) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment