dcache: move cond_resched() into the end of __dentry_kill()
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 15 Apr 2018 22:28:48 +0000 (18:28 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 16 Apr 2018 03:36:58 +0000 (23:36 -0400)
commit9c5f1d30199d09f7e2776c24ecb63c843ada876d
treeb00ee3a76635657ab4df363562f06b6d77af3521
parent3a8e3611e0babd460bae2fa57674b9a208422217
dcache: move cond_resched() into the end of __dentry_kill()

cond_resched() in shrink_dentry_list() is too early

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/dcache.c