Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 157312
b: refs/heads/master
c: 713c0ec
h: refs/heads/master
v: v3
  • Loading branch information
Sten Spans authored and James Morris committed Jul 16, 2009
1 parent a73562f commit 6821afe
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: 7d45ecafb6792ca68da9517969d37d910601845f
refs/heads/master: 713c0ecdb888e9ef6f085e828555455c5916b07f
2 changes: 1 addition & 1 deletion trunk/fs/locks.c
Original file line number Diff line number Diff line change
Expand Up @@ -1591,7 +1591,7 @@ SYSCALL_DEFINE2(flock, unsigned int, fd, unsigned int, cmd)
if (can_sleep)
lock->fl_flags |= FL_SLEEP;

error = security_file_lock(filp, cmd);
error = security_file_lock(filp, lock->fl_type);
if (error)
goto out_free;

Expand Down

0 comments on commit 6821afe

Please sign in to comment.