vc_screen: modify vcs_size() handling in vcs_read()
[ Upstream commit
52be253b96c5cf51c7b2a4b9791803d685ac566d ]
Restore the vcs_size() handling in vcs_read() to what
it had been in previous version.
Fixes: 88f6e5afd1cc ("vc_screen: move load of struct vc_data pointer in vcs_read() to avoid UAF")
Suggested-by: Jiri Slaby <jirislaby@kernel.org>
Signed-off-by: George Kennedy <george.kennedy@oracle.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>