summaryrefslogtreecommitdiff
path: root/fs/bcachefs/fs-io.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2023-09-04 12:38:30 +0300
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-23 00:10:12 +0300
commit5902cc283c060f0a006ee9b2f2a64855a09399b4 (patch)
treec7d2e909fa088255d845fe205394397581ed4bb3 /fs/bcachefs/fs-io.h
parent1809b8cba756d32bd6e976ed4ee64efdf66c6d94 (diff)
downloadlinux-5902cc283c060f0a006ee9b2f2a64855a09399b4.tar.xz
bcachefs: New io_misc.c helpers
This pulls the non vfs specific parts of truncate and finsert/fcollapse out of fs-io.c, and moves them to io_misc.c. This is prep work for logging these operations, to make them atomic in the event of a crash. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/fs-io.h')
-rw-r--r--fs/bcachefs/fs-io.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/fs-io.h b/fs/bcachefs/fs-io.h
index bc6e8439d40b..ca70346e68dc 100644
--- a/fs/bcachefs/fs-io.h
+++ b/fs/bcachefs/fs-io.h
@@ -165,7 +165,7 @@ int __must_check bch2_write_inode_size(struct bch_fs *,
int bch2_fsync(struct file *, loff_t, loff_t, int);
-int bch2_truncate(struct mnt_idmap *,
+int bchfs_truncate(struct mnt_idmap *,
struct bch_inode_info *, struct iattr *);
long bch2_fallocate_dispatch(struct file *, int, loff_t, loff_t);