projects
/
kernel
/
kernel-generic.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
|
history
diff --git
a/fs/ocfs2/file.c
b/fs/ocfs2/file.c
index
89659d6
..
b1e35a3
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 = {