Browse Source

[CIFS] fix typo in previous

Signed-off-by: Steve French <sfrench@us.ibm.com>
Steve French 18 năm trước cách đây
mục cha
commit
c19eb71020
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      fs/cifs/file.c

+ 1 - 1
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,