Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 146932
b: refs/heads/master
c: a12af1e
h: refs/heads/master
v: v3
  • Loading branch information
Abhijith Das authored and Steven Whitehouse committed Jun 2, 2009
1 parent a9357d4 commit e3c9bd2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: f6eb53498ee8f725832f3a0fffca90566bb118a6
refs/heads/master: a12af1ebe675e85831fde3c4d0908fc3b0908b7a
4 changes: 2 additions & 2 deletions trunk/fs/gfs2/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -698,8 +698,8 @@ static int gfs2_flock(struct file *file, int cmd, struct file_lock *fl)

if (!(fl->fl_flags & FL_FLOCK))
return -ENOLCK;
if (__mandatory_lock(&ip->i_inode))
return -ENOLCK;
if (fl->fl_type & LOCK_MAND)
return -EOPNOTSUPP;

if (fl->fl_type == F_UNLCK) {
do_unflock(file, fl);
Expand Down

0 comments on commit e3c9bd2

Please sign in to comment.