Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 61736
b: refs/heads/master
c: 275afca
h: refs/heads/master
v: v3
  • Loading branch information
Andrew Morton authored and Linus Torvalds committed Jul 19, 2007
1 parent 3551b12 commit 2a48fe7
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: ed2c12f323e8fafbc94f9bcfb924f9df36e64dc7
refs/heads/master: 275afcac9953ece0828972edeab9684cfe1a5ef3
3 changes: 2 additions & 1 deletion trunk/fs/afs/flock.c
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,8 @@ static int afs_do_getlk(struct file *file, struct file_lock *fl)

/* check local lock records first */
ret = 0;
if (posix_test_lock(file, fl) == 0) {
posix_test_lock(file, fl);
if (fl->fl_type == F_UNLCK) {
/* no local locks; consult the server */
ret = afs_vnode_fetch_status(vnode, NULL, key);
if (ret < 0)
Expand Down

0 comments on commit 2a48fe7

Please sign in to comment.