diff options
Diffstat (limited to 'libbcachefs/fs-io.c')
-rw-r--r-- | libbcachefs/fs-io.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/libbcachefs/fs-io.c b/libbcachefs/fs-io.c index 9fea8976..98bd5bab 100644 --- a/libbcachefs/fs-io.c +++ b/libbcachefs/fs-io.c @@ -194,16 +194,6 @@ int bch2_fsync(struct file *file, loff_t start, loff_t end, int datasync) struct bch_fs *c = inode->v.i_sb->s_fs_info; int ret; - /* - * check if unlinked, disable/defer until relink - */ - - /* - * also: add a mode where a file is a tmpfile until fully, - * asynchronously written - */ - - ret = file_write_and_wait_range(file, start, end); if (ret) goto out; |