[PATCH 0/1] Refactoring wb_congested_put()
From: Jules Irenge
Date: Wed Mar 11 2020 - 20:22:09 EST
Hi
I expanded the lock function refcount_dec_and_lock_irqsave(&congested->refcnt, &cgwb_lock, &flags)
and rearrange the code so that it can look simple and Sparse will not throw a warning.
Please feel free to leave me any feedback
Thanks
Jules Irenge (1):
backing-dev: refactor wb_congested_put()
mm/backing-dev.c | 23 +++++++++++++----------
1 file changed, 13 insertions(+), 10 deletions(-)
--
2.24.1