From: Gao Xiang <xiang@kernel.org>
To: linux-erofs@lists.ozlabs.org
Subject: [PATCH 2/3] erofs-utils: erofs_drop_directly_bhops for blob remapping
Date: Mon, 27 Sep 2021 23:04:00 +0800 [thread overview]
Message-ID: <20210927150401.14305-2-xiang@kernel.org> (raw)
In-Reply-To: <20210927150401.14305-1-xiang@kernel.org>
Easier to understand, no real impact.
Signed-off-by: Gao Xiang <xiang@kernel.org>
---
lib/blobchunk.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/blobchunk.c b/lib/blobchunk.c
index 725b5173a598..661c5d0121a8 100644
--- a/lib/blobchunk.c
+++ b/lib/blobchunk.c
@@ -193,7 +193,7 @@ int erofs_blob_remap(void)
remapped_base = erofs_blknr(pos_out);
ret = erofs_copy_file_range(fileno(blobfile), &pos_in,
erofs_devfd, &pos_out, length);
- bh->op = &erofs_skip_write_bhops;
+ bh->op = &erofs_drop_directly_bhops;
erofs_bdrop(bh, false);
return ret < length ? -EIO : 0;
}
--
2.20.1
next prev parent reply other threads:[~2021-09-27 15:05 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-27 15:03 [PATCH 1/3] erofs-utils: mkfs: rearrange arguments Gao Xiang
2021-09-27 15:04 ` Gao Xiang [this message]
2021-09-27 15:04 ` [PATCH 3/3] erofs-utils: manpage: fix style Gao Xiang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210927150401.14305-2-xiang@kernel.org \
--to=xiang@kernel.org \
--cc=linux-erofs@lists.ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).