[ 4690.399570] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:69
[ 4690.399725] in_atomic(): 1, irqs_disabled(): 0, pid: 38199, name: umount
[ 4690.399843] INFO: lockdep is turned off.
[ 4690.399917] CPU: 0 PID: 38199 Comm: umount Tainted: P W O --------- --- 4.18.0 #45
[ 4690.400083] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
[ 4690.400203] Call Trace:
[ 4690.400259] dump_stack+0x85/0xc0
[ 4690.400337] ___might_sleep.cold.15+0xac/0xbc
[ 4690.400434] down_write+0x24/0xb0
[ 4690.400519] osp_invalidate+0xf2/0x1e0 [osp]
[ 4690.400632] osp_trans_stop_cb+0x15e/0x180 [osp]
[ 4690.400739] osp_trans_callback+0x97/0xb0 [osp]
[ 4690.400845] osp_update_fini.isra.6+0xdc/0x1d0 [osp]
[ 4690.400951] osp_process_config+0x3a2/0x570 [osp]
[ 4690.401067] lod_sub_process_config+0x7b/0x1e0 [lod]
[ 4690.401177] lod_process_config+0x2fa/0x1280 [lod]
[ 4690.401292] mdd_process_config+0xa0/0x650 [mdd]
[ 4690.401417] mdt_device_fini+0x328/0xec0 [mdt]