diff options
author | Tristan Ye <tristan.ye@oracle.com> | 2011-05-23 03:57:26 -0400 |
---|---|---|
committer | Joel Becker <jlbec@evilplan.org> | 2011-05-26 00:06:28 -0400 |
commit | 3d1c1829ebe7e8bb48a997b39b4865abc9197e5e (patch) | |
tree | 45cc7eda240a9f5649887311dc2968d190b4c7fa /fs/ocfs2/file.c | |
parent | 66effd3c681256874a81436493a933edb1701798 (diff) |
Ocfs2: Teach local-mounted ocfs2 to handle unwritten_extents correctly.
Oops, local-mounted of 'ocfs2_fops_no_plocks' is just missing the support
of unwritten_extents/punching-hole due to no func pointer was given correctly
to '.follocate' field.
Signed-off-by: Tristan Ye <tristan.ye@oracle.com>
Diffstat (limited to 'fs/ocfs2/file.c')
-rw-r--r-- | fs/ocfs2/file.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ocfs2/file.c b/fs/ocfs2/file.c index 89659d6dc206..b1e35a392ca5 100644 --- a/fs/ocfs2/file.c +++ b/fs/ocfs2/file.c | |||
@@ -2670,6 +2670,7 @@ const struct file_operations ocfs2_fops_no_plocks = { | |||
2670 | .flock = ocfs2_flock, | 2670 | .flock = ocfs2_flock, |
2671 | .splice_read = ocfs2_file_splice_read, | 2671 | .splice_read = ocfs2_file_splice_read, |
2672 | .splice_write = ocfs2_file_splice_write, | 2672 | .splice_write = ocfs2_file_splice_write, |
2673 | .fallocate = ocfs2_fallocate, | ||
2673 | }; | 2674 | }; |
2674 | 2675 | ||
2675 | const struct file_operations ocfs2_dops_no_plocks = { | 2676 | const struct file_operations ocfs2_dops_no_plocks = { |