Commit 28d2d19c authored by Brian Foster's avatar Brian Foster Committed by Kent Overstreet
Browse files

bcachefs: drop duplicate fiemap sync flag



FIEMAP_FLAG_SYNC handling was deliberately moved into core code in
commit 45dd052e ("fs: handle FIEMAP_FLAG_SYNC in fiemap_prep"),
released in kernel v5.8. Update bcachefs accordingly.

Signed-off-by: default avatarBrian Foster <bfoster@redhat.com>
parent 353739f1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1330,7 +1330,7 @@ static int bch2_fiemap(struct inode *vinode, struct fiemap_extent_info *info,
	bool have_extent = false;
	int ret = 0;

	ret = fiemap_prep(&ei->v, info, start, &len, FIEMAP_FLAG_SYNC);
	ret = fiemap_prep(&ei->v, info, start, &len, 0);
	if (ret)
		return ret;