Make seek_name() compare the path component in a case-insensitive way. Should fix an issue reported by Mark.
Cc: Mark Cave-Ayland mark.cave-ayland@siriusit.co.uk Cc: Laurent Vivier laurent@vivier.eu Signed-off-by: Andreas Färber andreas.faerber@web.de --- fs/iso9660/iso9660_opendir.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/fs/iso9660/iso9660_opendir.c b/fs/iso9660/iso9660_opendir.c index 10cb89d..49eab4b 100644 --- a/fs/iso9660/iso9660_opendir.c +++ b/fs/iso9660/iso9660_opendir.c @@ -55,7 +55,7 @@ static struct iso_directory_record * seek_name(iso9660_VOLUME *volume, while ((idr = iso9660_readdir(dir)) != NULL) { iso9660_name(volume, idr, name_buf); - if (strcmp(name, name_buf) == 0) + if (strcasecmp(name, name_buf) == 0) { result = idr_new(idr); iso9660_closedir(dir);