summaryrefslogtreecommitdiff
path: root/fs/cifs/file.c
diff options
context:
space:
mode:
authorSteve French <sfrench@us.ibm.com>2007-08-24 03:22:48 +0000
committerSteve French <sfrench@us.ibm.com>2007-08-24 03:22:48 +0000
commitc19eb71020687e178b9fa564f4a8ac1880f87b10 (patch)
tree8d629e4ece7dda57719e037ea1e79b6d5e3b626b /fs/cifs/file.c
parent39db810cb6c1e7d1f2e43ae38b437b7ee72fe815 (diff)
downloadlwn-c19eb71020687e178b9fa564f4a8ac1880f87b10.tar.gz
lwn-c19eb71020687e178b9fa564f4a8ac1880f87b10.zip
[CIFS] fix typo in previous
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/file.c')
-rw-r--r--fs/cifs/file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/file.c b/fs/cifs/file.c
index f9bd8b83f40e..26fa50858aac 100644
--- a/fs/cifs/file.c
+++ b/fs/cifs/file.c
@@ -767,7 +767,7 @@ int cifs_lock(struct file *file, int cmd, struct file_lock *pfLock)
mutex_lock(&fid->lock_mutex);
list_for_each_entry_safe(li, tmp, &fid->llist, llist) {
if (pfLock->fl_start <= li->offset &&
- (pflock->fl_start + length) >=
+ (pfLock->fl_start + length) >=
(li->offset + li->length)) {
stored_rc = CIFSSMBLock(xid, pTcon,
netfid,