|
@@ -991,7 +991,7 @@ static int do_flock(struct file *file, int cmd, struct file_lock *fl)
|
|
goto out;
|
|
goto out;
|
|
flock_lock_file_wait(file,
|
|
flock_lock_file_wait(file,
|
|
&(struct file_lock){.fl_type = F_UNLCK});
|
|
&(struct file_lock){.fl_type = F_UNLCK});
|
|
- gfs2_glock_dq_wait(fl_gh);
|
|
|
|
|
|
+ gfs2_glock_dq(fl_gh);
|
|
gfs2_holder_reinit(state, flags, fl_gh);
|
|
gfs2_holder_reinit(state, flags, fl_gh);
|
|
} else {
|
|
} else {
|
|
error = gfs2_glock_get(GFS2_SB(&ip->i_inode), ip->i_no_addr,
|
|
error = gfs2_glock_get(GFS2_SB(&ip->i_inode), ip->i_no_addr,
|