summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2021-01-11 13:31:15 -0500
committerKent Overstreet <kent.overstreet@gmail.com>2021-01-11 13:58:10 -0500
commit46fa1167923e1421fa0181483af2c47e51ca752e (patch)
treead218ecfd90fc61caa5e73597469ed25f407084c
parent728cc57c841287b2e379ed7e4f2cc720f7562f93 (diff)
bcachefs: Disable splice_write
This is currently busted - not sure why. Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
-rw-r--r--fs/bcachefs/fs.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/bcachefs/fs.c b/fs/bcachefs/fs.c
index 9ce031728af5..a2654c862b7b 100644
--- a/fs/bcachefs/fs.c
+++ b/fs/bcachefs/fs.c
@@ -1007,7 +1007,10 @@ static const struct file_operations bch_file_operations = {
.open = generic_file_open,
.fsync = bch2_fsync,
.splice_read = generic_file_splice_read,
+#if 0
+ /* Busted: */
.splice_write = iter_file_splice_write,
+#endif
.fallocate = bch2_fallocate_dispatch,
.unlocked_ioctl = bch2_fs_file_ioctl,
#ifdef CONFIG_COMPAT