diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2019-10-09 19:11:00 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-23 00:08:29 +0300 |
commit | 2925fc49b3303ee7733cf9f6cba6a59a5b8a5e4b (patch) | |
tree | 22e8bfd43f84b6b7135f6489d6d74e1c3abfbb5f /fs/bcachefs/reflink.c | |
parent | e0541a9346951c94dce4d65d88541a329adf0b76 (diff) | |
download | linux-2925fc49b3303ee7733cf9f6cba6a59a5b8a5e4b.tar.xz |
bcachefs: Split out bchfs_extent_update()
The next few patches are going to be more moving the logic around
i_size/i_sectors updates to io.c, and better separating the Linux VFS
specific code from core bcachefs code, to better support the fuse port.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/reflink.c')
-rw-r--r-- | fs/bcachefs/reflink.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/bcachefs/reflink.c b/fs/bcachefs/reflink.c index de4c8b075a65..c9ff467cc0d9 100644 --- a/fs/bcachefs/reflink.c +++ b/fs/bcachefs/reflink.c @@ -259,9 +259,9 @@ s64 bch2_remap_range(struct bch_fs *c, min(src_k.k->p.offset - src_iter->pos.offset, dst_end.offset - dst_iter->pos.offset)); - ret = bch2_extent_update(&trans, dst_inode, NULL, NULL, - dst_iter, &new_dst.k, - new_i_size, false, true, NULL); + ret = bchfs_extent_update(&trans, dst_inode, NULL, NULL, + dst_iter, &new_dst.k, + new_i_size, false, true, NULL); if (ret) goto btree_err; |