Skip to content
Commit e9956fae authored by Tao Ma's avatar Tao Ma Committed by Joel Becker
Browse files

ocfs2/quota: Release lock for error in ocfs2_quota_write.



ocfs2_quota_write needs to release the lock if it fails to
read quota block. So use "goto out" instead of "return err".

Signed-off-by: default avatarTao Ma <tao.ma@oracle.com>
Acked-by: default avatarJan Kara <jack@suse.cz>
Signed-off-by: default avatarJoel Becker <joel.becker@oracle.com>
parent 0584974a
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