diff options
author | 2024-01-15 12:26:56 -0500 | |
---|---|---|
committer | 2025-04-24 19:10:28 -0400 | |
commit | 28d2d19ccc8e36dacdd65303b051972926943394 (patch) | |
tree | f4343f73da023f04f75e4d3b56a2b8df85e704d8 | |
parent | bcachefs: Fix btree_iter_peek_prev() at end of inode (diff) | |
download | wireguard-linux-28d2d19ccc8e36dacdd65303b051972926943394.tar.xz wireguard-linux-28d2d19ccc8e36dacdd65303b051972926943394.zip |
bcachefs: drop duplicate fiemap sync flag
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>
-rw-r--r-- | fs/bcachefs/fs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/fs.c b/fs/bcachefs/fs.c index 5b716ffde500..59d919aeda74 100644 --- 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; |