diff options
author | Davidlohr Bueso <[email protected]> | 2024-08-06 08:39:27 -0700 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2024-09-01 20:43:32 -0700 |
commit | a15bec6a8f2f177e6c1388f23d02436e27994299 (patch) | |
tree | 678423dfb76f81995933923dac853a37b89fe052 /lib/fault-inject.c | |
parent | 97cf8f5f93f8419d5e7902b89194530466e73bcd (diff) |
lib/rhashtable: cleanup fallback check in bucket_table_alloc()
Upon allocation failure, the current check with the nofail bits is
unnecessary, and further stands in the way of discouraging direct use of
__GFP_NOFAIL. Remove this and replace with the proper way of determining
if doing a non-blocking allocation for the nested table case.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Davidlohr Bueso <[email protected]>
Suggested-by: Michal Hocko <[email protected]>
Cc: Davidlohr Bueso <[email protected]>
Cc: Herbert Xu <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'lib/fault-inject.c')
0 files changed, 0 insertions, 0 deletions