aboutsummaryrefslogtreecommitdiff
path: root/.get_maintainer.ignore
diff options
context:
space:
mode:
authorGravatar Alex Henrie <alexhenrie24@gmail.com> 2024-02-07 19:21:32 -0700
committerGravatar Jan Kara <jack@suse.cz> 2024-02-08 11:59:37 +0100
commit4243bf80c79211a8ca2795401add9c4a3b1d37ca (patch)
treeb335b42d27f893117c589ba8773697dd2a992bec /.get_maintainer.ignore
parentudf: Avoid invalid LVID used on mount (diff)
downloadlinux-4243bf80c79211a8ca2795401add9c4a3b1d37ca.tar.gz
linux-4243bf80c79211a8ca2795401add9c4a3b1d37ca.tar.bz2
linux-4243bf80c79211a8ca2795401add9c4a3b1d37ca.zip
isofs: handle CDs with bad root inode but good Joliet root directory
I have a CD copy of the original Tom Clancy's Ghost Recon game from 2001. The disc mounts without error on Windows, but on Linux mounting fails with the message "isofs_fill_super: get root inode failed". The error originates in isofs_read_inode, which returns -EIO because de_len is 0. The superblock on this disc appears to be intentionally corrupt as a form of copy protection. When the root inode is unusable, instead of giving up immediately, try to continue with the Joliet file table. This fixes the Ghost Recon CD and probably other copy-protected CDs too. Signed-off-by: Alex Henrie <alexhenrie24@gmail.com> Signed-off-by: Jan Kara <jack@suse.cz> Message-Id: <20240208022134.451490-1-alexhenrie24@gmail.com>
Diffstat (limited to '.get_maintainer.ignore')
0 files changed, 0 insertions, 0 deletions