From mboxrd@z Thu Jan 1 00:00:00 1970 From: rpeterso@redhat.com Date: Thu, 9 Aug 2012 12:48:42 -0500 Subject: [Cluster-devel] [PATCH 1/6] GFS2: change function gfs2_direct_IO to use a normal gfs2_glock_dq In-Reply-To: <1344534527-28721-1-git-send-email-rpeterso@redhat.com> References: <1344534527-28721-1-git-send-email-rpeterso@redhat.com> Message-ID: <1344534527-28721-2-git-send-email-rpeterso@redhat.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit From: Bob Peterson 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. --- fs/gfs2/aops.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/fs/gfs2/aops.c b/fs/gfs2/aops.c index 00eaa83..01c4975 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; } -- 1.7.7.6