Skip to content

Commit 28d2d19

Browse files
Brian FosterKent Overstreet
authored andcommitted
bcachefs: drop duplicate fiemap sync flag
FIEMAP_FLAG_SYNC handling was deliberately moved into core code in commit 45dd052 ("fs: handle FIEMAP_FLAG_SYNC in fiemap_prep"), released in kernel v5.8. Update bcachefs accordingly. Signed-off-by: Brian Foster <bfoster@redhat.com>
1 parent 353739f commit 28d2d19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/bcachefs/fs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1330,7 +1330,7 @@ static int bch2_fiemap(struct inode *vinode, struct fiemap_extent_info *info,
13301330
bool have_extent = false;
13311331
int ret = 0;
13321332

1333-
ret = fiemap_prep(&ei->v, info, start, &len, FIEMAP_FLAG_SYNC);
1333+
ret = fiemap_prep(&ei->v, info, start, &len, 0);
13341334
if (ret)
13351335
return ret;
13361336

0 commit comments

Comments
 (0)