From 0ed6c759bf45830391b0efcfcbe92a4e76172440 Mon Sep 17 00:00:00 2001 From: Steve French Date: Tue, 2 Dec 2008 18:53:55 +0000 Subject: [PATCH] --- yaml --- r: 121478 b: refs/heads/master c: acc18aa1e643519035abdab5e72dc75e534b5198 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 07e972ceda44..f76ca7c7e1b2 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 13a6e42af8d90e2e8eb7fa50adf862a525b70518 +refs/heads/master: acc18aa1e643519035abdab5e72dc75e534b5198 diff --git a/trunk/fs/cifs/file.c b/trunk/fs/cifs/file.c index babd27a4699a..b1e1fc6a6e6a 100644 --- a/trunk/fs/cifs/file.c +++ b/trunk/fs/cifs/file.c @@ -708,7 +708,7 @@ int cifs_lock(struct file *file, int cmd, struct file_lock *pfLock) if ((tcon->ses->capabilities & CAP_UNIX) && (CIFS_UNIX_FCNTL_CAP & le64_to_cpu(tcon->fsUnixInfo.Capability)) && - (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NOPOSIXBRL == 0)) + ((cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NOPOSIXBRL) == 0)) posix_locking = 1; /* BB add code here to normalize offset and length to account for negative length which we can not accept over the