summaryrefslogtreecommitdiff
path: root/fs/jfs/jfs_logmgr.c
diff options
context:
space:
mode:
authorVahram Martirosyan <vmartirosyan@gmail.com>2013-05-24 13:57:12 +0500
committerDave Kleikamp <dave.kleikamp@oracle.com>2013-05-24 16:03:42 -0500
commite9b376671910d105c5e61103111b96209c729529 (patch)
tree1c52287d580870e8bec478aa698936d50d5d0a56 /fs/jfs/jfs_logmgr.c
parent514e250f67d2b2a8ab08dc9c3650af19a411c926 (diff)
downloadlinux-e9b376671910d105c5e61103111b96209c729529.tar.gz
linux-e9b376671910d105c5e61103111b96209c729529.tar.xz
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: Vahram Martirosyan <vahram.martirosyan@linuxtesting.org> Reviewed-by: Gu Zheng <guz.fnst@cn.fujitsu.com> Signed-off-by: Dave Kleikamp <dave.kleikamp@oracle.com>
Diffstat (limited to 'fs/jfs/jfs_logmgr.c')
0 files changed, 0 insertions, 0 deletions