From: Bob Peterson Date: Thu, 9 Aug 2012 17:48:42 +0000 (-0500) Subject: GFS2: change function gfs2_direct_IO to use a normal gfs2_glock_dq X-Git-Tag: next-20120816~75^2~7 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=27913f0d1a1ebfd0bcc3b8aa8ef5fb7d47be9087;p=karo-tx-linux.git 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 Signed-off-by: Steven Whitehouse --- diff --git a/fs/gfs2/aops.c b/fs/gfs2/aops.c index 00eaa83871b7..01c4975da4bc 100644 --- a/fs/gfs2/aops.c +++ b/fs/gfs2/aops.c @@ -1024,7 +1024,7 @@ static ssize_t gfs2_direct_IO(int rw, struct kiocb *iocb, offset, nr_segs, gfs2_get_block_direct, NULL, NULL, 0); out: - gfs2_glock_dq_m(1, &gh); + gfs2_glock_dq(&gh); gfs2_holder_uninit(&gh); return rv; }