CIFS: Fix error handling in cifs_push_mandatory_locks
Subsystems (2)
PATCH 1/1 CIFS: Fix error handling in cifs_push_mandatory_locks
Cc <[email protected]>
Signed-off-by Pavel Shilovsky <[email protected]>
--- fs/cifs/file.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
fs/cifs/file.c +1 -1
@@ -941,7 +941,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++) {
Signature · 1 line
1.7.1