]> git.baikalelectronics.ru Git - kernel.git/commit
mm/backing-dev.c: use might_alloc()
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 26 Feb 2021 01:18:45 +0000 (17:18 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 26 Feb 2021 17:41:01 +0000 (09:41 -0800)
commitb54043073eb842a3475d9a08dbdf0345031b9493
tree384894115e4010b94217e6cd1aedeab0fe42e4d4
parent77552000b075496f8c6b889a97238a8b694c1405
mm/backing-dev.c: use might_alloc()

Now that my little helper has landed, use it more.  On top of the existing
check this also uses lockdep through the fs_reclaim annotations.

[akpm@linux-foundation.org: include linux/sched/mm.h]

Link: https://lkml.kernel.org/r/20210113135009.3606813-2-daniel.vetter@ffwll.ch
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/backing-dev.c