diff options
author | Pierre Morel <pmorel@linux.vnet.ibm.com> | 2016-10-04 11:53:40 +0300 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2016-10-05 23:35:13 +0300 |
commit | 997198ba1ed691c09457120576c27dbd953d0557 (patch) | |
tree | 142a251ae87c22234e8180f597e08dcb58d51ea3 /drivers/hwmon/lm90.c | |
parent | 1a6fe74dfd1bb10afb41cbbbdc14890604be42a6 (diff) | |
download | linux-997198ba1ed691c09457120576c27dbd953d0557.tar.xz |
fs/block_dev.c: return the right error in thaw_bdev()
When triggering thaw-filesystems via magic sysrq, the system enters a
loop in do_thaw_one(), as thaw_bdev() still returns success if
bd_fsfreeze_count == 0. To fix this, let thaw_bdev() always return
error (and simplify the code a bit at the same time).
Reviewed-by: Eric Farman <farman@linux.vnet.ibm.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Pierre Morel <pmorel@linux.vnet.ibm.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/hwmon/lm90.c')
0 files changed, 0 insertions, 0 deletions