diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-09-04 05:38:30 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-09-12 22:26:09 -0400 |
commit | dfbad77b873c42f9f92cab8c804d408ed74f20cc (patch) | |
tree | fc35efc5df4b3fd4b670176124502466c936fa8c /fs/bcachefs/fs-io.h | |
parent | 1499d4c21de5656ba0ecb53b9c9313bd545b1c71 (diff) |
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.h | 2 |
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); |