projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b716ac
)
CIFS: Fix error handling in cifs_push_mandatory_locks
author
Pavel Shilovsky
<pshilovsky@etersoft.ru>
Wed, 29 Aug 2012 17:13:38 +0000
(21:13 +0400)
committer
Steve French
<smfrench@gmail.com>
Thu, 6 Sep 2012 17:42:31 +0000
(12:42 -0500)
Cc: <stable@vger.kernel.org>
Signed-off-by: Pavel Shilovsky <pshilovsky@etersoft.ru>
Signed-off-by: Steve French <smfrench@gmail.com>
fs/cifs/file.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/cifs/file.c
b/fs/cifs/file.c
index 9154192b0683e368a521ddf118961e1cdd592355..71e9ad9f59610aedef820784e558e1652973a553 100644
(file)
--- a/
fs/cifs/file.c
+++ b/
fs/cifs/file.c
@@
-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++) {