[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 02/19] nilfs2: remove nilfs_alloc_seg_bio
- To: Christoph Hellwig <hch@xxxxxx>
- From: Ryusuke Konishi <konishi.ryusuke@xxxxxxxxx>
- Date: Fri, 28 Jan 2022 06:38:05 +0900
- Cc: Jens Axboe <axboe@xxxxxxxxx>, Pavel Begunkov <asml.silence@xxxxxxxxx>, Mike Snitzer <snitzer@xxxxxxxxxx>, Konstantin Komarov <almaz.alexandrovich@xxxxxxxxxxxxxxxxxxxx>, Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>, "Md . Haris Iqbal" <haris.iqbal@xxxxxxxxx>, Jack Wang <jinpu.wang@xxxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxx>, Philipp Reisner <philipp.reisner@xxxxxxxxxx>, Lars Ellenberg <lars.ellenberg@xxxxxxxxxx>, linux-block@xxxxxxxxxxxxxxx, device-mapper development <dm-devel@xxxxxxxxxx>, linux-fsdevel@xxxxxxxxxxxxxxx, linux-nfs@xxxxxxxxxxxxxxx, linux-nilfs <linux-nilfs@xxxxxxxxxxxxxxx>, ntfs3@xxxxxxxxxxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxxx, drbd-dev@xxxxxxxxxxxxxxxx
- Delivery-date: Fri, 28 Jan 2022 05:15:21 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On Mon, Jan 24, 2022 at 6:11 PM Christoph Hellwig <hch@xxxxxx> wrote:
>
> bio_alloc will never fail when it can sleep. Remove the now simple
> nilfs_alloc_seg_bio helper and open code it in the only caller.
>
> Signed-off-by: Christoph Hellwig <hch@xxxxxx>
> ---
> fs/nilfs2/segbuf.c | 31 ++++---------------------------
> 1 file changed, 4 insertions(+), 27 deletions(-)
Acked-by: Ryusuke Konishi <konishi.ryusuke@xxxxxxxxx>
Thanks!
Ryusuke Konishi
|