Skip to content

Commit

Permalink
Ocfs2: Teach local-mounted ocfs2 to handle unwritten_extents correctly.
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
Tristan Ye authored and jlbec committed May 26, 2011
1 parent 66effd3 commit 3d1c182
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fs/ocfs2/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -2670,6 +2670,7 @@ const struct file_operations ocfs2_fops_no_plocks = {
.flock = ocfs2_flock,
.splice_read = ocfs2_file_splice_read,
.splice_write = ocfs2_file_splice_write,
.fallocate = ocfs2_fallocate,
};

const struct file_operations ocfs2_dops_no_plocks = {
Expand Down

0 comments on commit 3d1c182

Please sign in to comment.