diff options
author | Eric Biggers <ebiggers@google.com> | 2019-12-31 12:12:56 -0600 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2020-01-17 16:24:54 -0500 |
commit | fd5fe2535642982af695f2f77bb7dba5d4aa6aa5 (patch) | |
tree | a457f8a0c1ada4276a18ae9b4f7764e85eafaca1 /fs/ext4/indirect.c | |
parent | 68e45330e341dad2d3a0a3f8ef2ec46a2a0a3bbc (diff) | |
download | linux-fd5fe2535642982af695f2f77bb7dba5d4aa6aa5.tar.gz linux-fd5fe2535642982af695f2f77bb7dba5d4aa6aa5.tar.bz2 linux-fd5fe2535642982af695f2f77bb7dba5d4aa6aa5.zip |
ext4: remove unneeded check for error allocating bio_post_read_ctx
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.
Also remove the redundant assignment to ->bi_private.
Signed-off-by: Eric Biggers <ebiggers@google.com>
Link: https://lore.kernel.org/r/20191231181256.47770-1-ebiggers@kernel.org
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/indirect.c')
0 files changed, 0 insertions, 0 deletions