From d562f46139a6b1b0b3b1ba2a2eaad5d35b71c852 Mon Sep 17 00:00:00 2001 From: Steve French Date: Fri, 3 Mar 2006 23:36:34 +0000 Subject: [PATCH] --- yaml --- r: 24984 b: refs/heads/master c: beb84dc8186662b17d5ea510fabb85cb7e266d33 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/fs/cifs/file.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 2487794adf18..f56eb13a9941 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: c6ee60b7c8bbc78e3b1776b2820a7e7f95f8996a +refs/heads/master: beb84dc8186662b17d5ea510fabb85cb7e266d33 diff --git a/trunk/fs/cifs/file.c b/trunk/fs/cifs/file.c index 71a30fd76aa8..2c093de26225 100644 --- a/trunk/fs/cifs/file.c +++ b/trunk/fs/cifs/file.c @@ -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 */