Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 38757
b: refs/heads/master
c: 52f341c
h: refs/heads/master
i:
  38755: 02afb93
v: v3
  • Loading branch information
Abhijith Das authored and Steven Whitehouse committed Jul 21, 2006
1 parent 0ae6c24 commit 17f3d8a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 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: c5921fd02e6c720938141a45f1f9dbd71b17fff2
refs/heads/master: 52f341cf75d2da84811127582616984eb0602360
5 changes: 1 addition & 4 deletions trunk/fs/gfs2/ops_file.c
Original file line number Diff line number Diff line change
Expand Up @@ -608,12 +608,9 @@ static int do_gfs2_set_flags(struct file *filp, u32 reqflags, u32 mask)
int error;
u32 new_flags, flags;

gfs2_holder_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &gh);
error = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &gh);
if (error) {
gfs2_holder_uninit(&gh);
if (error)
return error;
}

flags = ip->i_di.di_flags;
new_flags = (flags & ~mask) | (reqflags & mask);
Expand Down

0 comments on commit 17f3d8a

Please sign in to comment.