Commit e9b37667 authored by Vahram Martirosyan's avatar Vahram Martirosyan Committed by Dave Kleikamp
Browse files

jfs: Several bugs in jfs_freeze() and jfs_unfreeze()



The mentioned functions do not pay attention to the error codes returned
by the functions updateSuper(), lmLogInit() and lmLogShutdown(). It brings
to system crash later when writing to log.

The patch adds corresponding code to check and return the error codes
and to print correct error messages in case of errors.

Found by Linux File System Verification project (linuxtesting.org).

Signed-off-by: default avatarVahram Martirosyan <vahram.martirosyan@linuxtesting.org>
Reviewed-by: default avatarGu Zheng <guz.fnst@cn.fujitsu.com>
Signed-off-by: default avatarDave Kleikamp <dave.kleikamp@oracle.com>
parent 514e250f
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment