projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66effd3
)
Ocfs2: Teach local-mounted ocfs2 to handle unwritten_extents correctly.
author
Tristan Ye
<tristan.ye@oracle.com>
Mon, 23 May 2011 07:57:26 +0000
(15:57 +0800)
committer
Joel Becker
<jlbec@evilplan.org>
Thu, 26 May 2011 04:06:28 +0000
(21:06 -0700)
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>
fs/ocfs2/file.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/ocfs2/file.c
b/fs/ocfs2/file.c
index 89659d6dc2067276f2cebcea63a9bcc34a0a2486..b1e35a392ca5279d7aa7d645aa75fd8c101c6d05 100644
(file)
--- a/
fs/ocfs2/file.c
+++ b/
fs/ocfs2/file.c
@@
-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 = {