projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
353739f
)
bcachefs: drop duplicate fiemap sync flag
author
Brian Foster
<bfoster@redhat.com>
Mon, 15 Jan 2024 17:26:56 +0000
(12:26 -0500)
committer
Kent Overstreet
<kent.overstreet@linux.dev>
Thu, 24 Apr 2025 23:10:28 +0000
(19:10 -0400)
FIEMAP_FLAG_SYNC handling was deliberately moved into core code in
commit
45dd052e67ad
("fs: handle FIEMAP_FLAG_SYNC in fiemap_prep"),
released in kernel v5.8. Update bcachefs accordingly.
Signed-off-by: Brian Foster <bfoster@redhat.com>
fs/bcachefs/fs.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/bcachefs/fs.c
b/fs/bcachefs/fs.c
index 5b716ffde500c7c2c32d4e8dcebfc77b6ffcc7f3..59d919aeda74f45e1614c2a52c9d7736e87e79bf 100644
(file)
--- a/
fs/bcachefs/fs.c
+++ b/
fs/bcachefs/fs.c
@@
-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;