Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 231160
b: refs/heads/master
c: 255c7cf
h: refs/heads/master
v: v3
  • Loading branch information
J. Bruce Fields committed Jan 4, 2011
1 parent 581bdf8 commit 6b48b65
Show file tree
Hide file tree
Showing 2 changed files with 2 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: c45821d263a8a5109d69a9e8942b8d65bcd5f31a
refs/heads/master: 255c7cf810e4776ae8f1023332060459f30d8a2a
2 changes: 1 addition & 1 deletion trunk/fs/locks.c
Original file line number Diff line number Diff line change
Expand Up @@ -1399,7 +1399,7 @@ int generic_setlease(struct file *filp, long arg, struct file_lock **flp)
for (before = &inode->i_flock;
((fl = *before) != NULL) && IS_LEASE(fl);
before = &fl->fl_next) {
if (fl->fl_file == lease->fl_file)
if (fl->fl_file == filp)
my_before = before;
else if (fl->fl_type == (F_INPROGRESS | F_UNLCK))
/*
Expand Down

0 comments on commit 6b48b65

Please sign in to comment.