aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2
diff options
context:
space:
mode:
Diffstat (limited to 'fs/gfs2')
-rw-r--r--fs/gfs2/aops.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/gfs2/aops.c b/fs/gfs2/aops.c
index 9f8b52500d63..703000d6e4d2 100644
--- a/fs/gfs2/aops.c
+++ b/fs/gfs2/aops.c
@@ -1047,9 +1047,9 @@ static ssize_t gfs2_direct_IO(int rw, struct kiocb *iocb,
1047 if (rv != 1) 1047 if (rv != 1)
1048 goto out; /* dio not valid, fall back to buffered i/o */ 1048 goto out; /* dio not valid, fall back to buffered i/o */
1049 1049
1050 rv = blockdev_direct_IO_no_locking(rw, iocb, inode, inode->i_sb->s_bdev, 1050 rv = __blockdev_direct_IO(rw, iocb, inode, inode->i_sb->s_bdev, iov,
1051 iov, offset, nr_segs, 1051 offset, nr_segs, gfs2_get_block_direct,
1052 gfs2_get_block_direct, NULL); 1052 NULL, NULL, 0);
1053out: 1053out:
1054 gfs2_glock_dq_m(1, &gh); 1054 gfs2_glock_dq_m(1, &gh);
1055 gfs2_holder_uninit(&gh); 1055 gfs2_holder_uninit(&gh);