Skip to content
Commit 49210933 authored by Jiapeng Chong's avatar Jiapeng Chong Committed by Dave Kleikamp
Browse files

fs/jfs: Fix missing error code in lmLogInit()



The error code is missing in this code scenario, add the error code
'-EINVAL' to the return value 'rc.

Eliminate the follow smatch warning:

fs/jfs/jfs_logmgr.c:1327 lmLogInit() warn: missing error code 'rc'.

Reported-by: default avatarAbaci Robot <abaci@linux.alibaba.com>
Signed-off-by: default avatarJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Signed-off-by: default avatarDave Kleikamp <dave.kleikamp@oracle.com>
parent cf1031ed
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