block: mount_device: err log only when mp deviates from spec
authorYousong Zhou <yszhou4tech@gmail.com>
Tue, 29 Oct 2019 12:39:50 +0000 (12:39 +0000)
committerJohn Crispin <john@phrozen.org>
Sat, 2 Nov 2019 18:23:23 +0000 (19:23 +0100)
commit2f2a09adbc148d7958be66b00b68ab0609043523
tree52a6e17f5dc56b746888753238dce21fdeb529e0
parentda4edc12ec9b647331a7491e3dbb963b453645da
block: mount_device: err log only when mp deviates from spec

Fixes possible memleak of mp as well

Resolves FS#1523

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
block.c