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

Commit beb84dc8 authored by Steve French's avatar Steve French
Browse files

[CIFS] Set correct lock type on new posix unlock call



Signed-off-by: default avatarSteve French <sfrench@us.ibm.com>
parent c6ee60b7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -698,7 +698,7 @@ int cifs_lock(struct file *file, int cmd, struct file_lock *pfLock)
			posix_lock_type = CIFS_WRLCK;
		
		if(numUnlock == 1)
			posix_lock_type |= CIFS_UNLCK;
			posix_lock_type = CIFS_UNLCK;
		else if(numLock == 0) {
			/* if no lock or unlock then nothing
			to do since we do not know what it is */