Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 188023
b: refs/heads/master
c: f78233d
h: refs/heads/master
i:
  188021: caf7327
  188019: dffc7f5
  188015: 0381387
v: v3
  • Loading branch information
Sachin Prabhu authored and Eric Van Hensbergen committed Mar 13, 2010
1 parent 85a0733 commit 91115d2
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: fc0f296126433e61600539325975b6c30681c07e
refs/heads/master: f78233dd44a110c574fe760ad6f9c1e8741a0d00
2 changes: 1 addition & 1 deletion trunk/fs/9p/vfs_file.c
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ static int v9fs_file_lock(struct file *filp, int cmd, struct file_lock *fl)
P9_DPRINTK(P9_DEBUG_VFS, "filp: %p lock: %p\n", filp, fl);

/* No mandatory locks */
if (__mandatory_lock(inode))
if (__mandatory_lock(inode) && fl->fl_type != F_UNLCK)
return -ENOLCK;

if ((IS_SETLK(cmd) || IS_SETLKW(cmd)) && fl->fl_type != F_UNLCK) {
Expand Down

0 comments on commit 91115d2

Please sign in to comment.