Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 34381
b: refs/heads/master
c: 6b70c95
h: refs/heads/master
i:
  34379: e0d2531
v: v3
  • Loading branch information
Steve French committed Sep 21, 2006
1 parent ec3b54b commit 5d7dbbc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2fe87f02a04ad6e7075023a87fe38eb458a4bb9d
refs/heads/master: 6b70c9559bcf381a6521e38b0dd5d3d4d905868a
3 changes: 2 additions & 1 deletion trunk/fs/cifs/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -752,6 +752,7 @@ int cifs_lock(struct file *file, int cmd, struct file_lock *pfLock)
int stored_rc = 0;
struct cifsLockInfo *li, *tmp;

rc = 0;
down(&fid->lock_sem);
list_for_each_entry_safe(li, tmp, &fid->llist, llist) {
if (pfLock->fl_start <= li->offset &&
Expand All @@ -766,7 +767,7 @@ int cifs_lock(struct file *file, int cmd, struct file_lock *pfLock)
kfree(li);
}
}
up(&fid->lock_sem);
up(&fid->lock_sem);
}
}

Expand Down

0 comments on commit 5d7dbbc

Please sign in to comment.