Re: [PATCH] f2fs: remove unneeded check for error allocating bio_post_read_ctx
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: Eric Biggers <ebiggers@xxxxxxxxxx>, <linux-f2fs-devel@xxxxxxxxxxxxxxxxxxxxx>
- Subject: Re: [PATCH] f2fs: remove unneeded check for error allocating bio_post_read_ctx
- From: Chao Yu <yuchao0@xxxxxxxxxx>
- Date: Thu, 2 Jan 2020 16:13:36 +0800
- In-reply-to: <20191231181456.47957-1-ebiggers@kernel.org>
- References: <20191231181456.47957-1-ebiggers@kernel.org>
- User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1
On 2020/1/1 2:14, Eric Biggers wrote:
> From: Eric Biggers <ebiggers@xxxxxxxxxx>
>
> Since allocating an object from a mempool never fails when
> __GFP_DIRECT_RECLAIM (which is included in GFP_NOFS) is set, the check
> for failure to allocate a bio_post_read_ctx is unnecessary. Remove it.
>
> Signed-off-by: Eric Biggers <ebiggers@xxxxxxxxxx>
Reviewed-by: Chao Yu <yuchao0@xxxxxxxxxx>
Thanks,
[Index of Archives]
[linux Cryptography]
[Asterisk App Development]
[PJ SIP]
[Gnu Gatekeeper]
[IETF Sipping]
[Info Cyrus]
[ALSA User]
[Fedora Linux Users]
[Linux SCTP]
[DCCP]
[Gimp]
[Yosemite News]
[Deep Creek Hot Springs]
[Yosemite Campsites]
[ISDN Cause Codes]