Skip to content

Commit 8e711e1

Browse files
AstralBobswhiteho
authored andcommitted
GFS2: change function gfs2_direct_IO to use a normal gfs2_glock_dq
This patch changes function gfs2_direct_IO so that it uses a normal call to gfs2_glock_dq rather than a call to a multiple-dq of one item. Signed-off-by: Bob Peterson <rpeterso@redhat.com> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
1 parent 8d8b752 commit 8e711e1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎fs/gfs2/aops.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1024,7 +1024,7 @@ static ssize_t gfs2_direct_IO(int rw, struct kiocb *iocb,
10241024
offset, nr_segs, gfs2_get_block_direct,
10251025
NULL, NULL, 0);
10261026
out:
1027-
gfs2_glock_dq_m(1, &gh);
1027+
gfs2_glock_dq(&gh);
10281028
gfs2_holder_uninit(&gh);
10291029
return rv;
10301030
}

0 commit comments

Comments
 (0)