aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorBob Peterson <rpeterso@redhat.com>2012-08-09 13:48:42 -0400
committerSteven Whitehouse <swhiteho@redhat.com>2012-09-24 05:47:06 -0400
commit8e711e100fd63b9cbf095030d45fd5ee2fa4c995 (patch)
tree7438b9d1cf9725f843c5cbd83e98208793d6a3ab /fs
parent8d8b752a0f55282498b918f6a28f87ee2bcf19c3 (diff)
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>
Diffstat (limited to 'fs')
-rw-r--r--fs/gfs2/aops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/aops.c b/fs/gfs2/aops.c
index 00eaa83871b..01c4975da4b 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,
1024 offset, nr_segs, gfs2_get_block_direct, 1024 offset, nr_segs, gfs2_get_block_direct,
1025 NULL, NULL, 0); 1025 NULL, NULL, 0);
1026out: 1026out:
1027 gfs2_glock_dq_m(1, &gh); 1027 gfs2_glock_dq(&gh);
1028 gfs2_holder_uninit(&gh); 1028 gfs2_holder_uninit(&gh);
1029 return rv; 1029 return rv;
1030} 1030}