aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/gfs2/ops_file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/gfs2/ops_file.c b/fs/gfs2/ops_file.c
index a05b75a7ed8e..f2d0bd80a1c7 100644
--- a/fs/gfs2/ops_file.c
+++ b/fs/gfs2/ops_file.c
@@ -612,9 +612,9 @@ static int gfs2_flock(struct file *file, int cmd, struct file_lock *fl)
612 612
613const struct file_operations gfs2_file_fops = { 613const struct file_operations gfs2_file_fops = {
614 .llseek = gfs2_llseek, 614 .llseek = gfs2_llseek,
615 .read = generic_file_read, 615 .read = do_sync_read,
616 .aio_read = generic_file_aio_read, 616 .aio_read = generic_file_aio_read,
617 .write = generic_file_write, 617 .write = do_sync_write,
618 .aio_write = generic_file_aio_write, 618 .aio_write = generic_file_aio_write,
619 .unlocked_ioctl = gfs2_ioctl, 619 .unlocked_ioctl = gfs2_ioctl,
620 .mmap = gfs2_mmap, 620 .mmap = gfs2_mmap,