[PATCH] return the right error in thaw_bdev()

From: Pierre Morel
Date: Tue Oct 04 2016 - 04:54:05 EST

When triggering thaw-filesystems via magic sysrq, the system freezes.

It is due to an error in thaw_bdev() for which I sent a
patch in august 2015, but the patch has not been applied and
the problem remains.

Since the original subject "always return an error..." may
be confusing, I changed the subject line and rebased the patch
on Linux 4.8-rc8.

Pierre Morel (1):
fs/block_dev.c: return the right error in thaw_bdev()

fs/block_dev.c | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)