aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/ops_file.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/gfs2/ops_file.c')
-rw-r--r--fs/gfs2/ops_file.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/fs/gfs2/ops_file.c b/fs/gfs2/ops_file.c
index f2d0bd80a1c7..fafa48b9105e 100644
--- a/fs/gfs2/ops_file.c
+++ b/fs/gfs2/ops_file.c
@@ -606,15 +606,16 @@ static int gfs2_flock(struct file *file, int cmd, struct file_lock *fl)
606 if (fl->fl_type == F_UNLCK) { 606 if (fl->fl_type == F_UNLCK) {
607 do_unflock(file, fl); 607 do_unflock(file, fl);
608 return 0; 608 return 0;
609 } else 609 } else {
610 return do_flock(file, cmd, fl); 610 return do_flock(file, cmd, fl);
611 }
611} 612}
612 613
613const struct file_operations gfs2_file_fops = { 614const struct file_operations gfs2_file_fops = {
614 .llseek = gfs2_llseek, 615 .llseek = gfs2_llseek,
615 .read = do_sync_read, 616 .read = do_sync_read,
616 .aio_read = generic_file_aio_read, 617 .aio_read = generic_file_aio_read,
617 .write = do_sync_write, 618 .write = do_sync_write,
618 .aio_write = generic_file_aio_write, 619 .aio_write = generic_file_aio_write,
619 .unlocked_ioctl = gfs2_ioctl, 620 .unlocked_ioctl = gfs2_ioctl,
620 .mmap = gfs2_mmap, 621 .mmap = gfs2_mmap,