Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 235060
b: refs/heads/master
c: 0a33443
h: refs/heads/master
v: v3
  • Loading branch information
Steven Whitehouse committed Mar 9, 2011
1 parent cbe172b commit ce0a839
Show file tree
Hide file tree
Showing 2 changed files with 5 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: fc0e38dae645f65424d1fb5d2a938aab8ce48a58
refs/heads/master: 0a33443b38746f35fc4acc8a5af6c7099e03ea40
6 changes: 4 additions & 2 deletions trunk/fs/gfs2/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -981,8 +981,10 @@ static void do_unflock(struct file *file, struct file_lock *fl)

mutex_lock(&fp->f_fl_mutex);
flock_lock_file_wait(file, fl);
if (fl_gh->gh_gl)
gfs2_glock_dq_uninit(fl_gh);
if (fl_gh->gh_gl) {
gfs2_glock_dq_wait(fl_gh);
gfs2_holder_uninit(fl_gh);
}
mutex_unlock(&fp->f_fl_mutex);
}

Expand Down

0 comments on commit ce0a839

Please sign in to comment.