Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 61444
b: refs/heads/master
c: d2ab0b0
h: refs/heads/master
v: v3
  • Loading branch information
J. Bruce Fields committed Jul 18, 2007
1 parent 2e9852a commit 6416ada
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 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: 87250dd26a34c65ae31d08837174222889007641
refs/heads/master: d2ab0b0c4c2570921a9ec1eff1e3a5143e05b231
4 changes: 1 addition & 3 deletions trunk/fs/locks.c
Original file line number Diff line number Diff line change
Expand Up @@ -1348,9 +1348,7 @@ static int __setlease(struct file *filp, long arg, struct file_lock **flp)

time_out_leases(inode);

error = -EINVAL;
if (!flp || !(*flp) || !(*flp)->fl_lmops || !(*flp)->fl_lmops->fl_break)
goto out;
BUG_ON(!(*flp)->fl_lmops->fl_break);

lease = *flp;

Expand Down

0 comments on commit 6416ada

Please sign in to comment.