Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3d1c1829 authored by Tristan Ye's avatar Tristan Ye Committed by Joel Becker
Browse files

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: default avatarTristan Ye <tristan.ye@oracle.com>
parent 66effd3c
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -2670,6 +2670,7 @@ const struct file_operations ocfs2_fops_no_plocks = {
	.flock		= ocfs2_flock,
	.flock		= ocfs2_flock,
	.splice_read	= ocfs2_file_splice_read,
	.splice_read	= ocfs2_file_splice_read,
	.splice_write	= ocfs2_file_splice_write,
	.splice_write	= ocfs2_file_splice_write,
	.fallocate	= ocfs2_fallocate,
};
};


const struct file_operations ocfs2_dops_no_plocks = {
const struct file_operations ocfs2_dops_no_plocks = {