Skip to content

Commit

Permalink
isofs: fix Joliet regression
Browse files Browse the repository at this point in the history
commit 5404ac8 ("isofs: cleanup mount
option processing") missed conversion of joliet option flag resulting
in non-working Joliet support.

CC: walt <[email protected]>
Signed-off-by: Bartlomiej Zolnierkiewicz <[email protected]>
Signed-off-by: Jan Kara <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
bzolnier authored and torvalds committed Jul 11, 2009
1 parent d4fc4a7 commit 8711c67
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fs/isofs/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ static const struct dentry_operations isofs_dentry_ops[] = {

struct iso9660_options{
unsigned int rock:1;
unsigned int joliet:1;
unsigned int cruft:1;
unsigned int hide:1;
unsigned int showassoc:1;
Expand All @@ -151,7 +152,6 @@ struct iso9660_options{
unsigned int gid_set:1;
unsigned int utf8:1;
unsigned char map;
char joliet;
unsigned char check;
unsigned int blocksize;
mode_t fmode;
Expand Down Expand Up @@ -632,7 +632,7 @@ static int isofs_fill_super(struct super_block *s, void *data, int silent)
else if (isonum_711(vdp->type) == ISO_VD_SUPPLEMENTARY) {
sec = (struct iso_supplementary_descriptor *)vdp;
if (sec->escape[0] == 0x25 && sec->escape[1] == 0x2f) {
if (opt.joliet == 'y') {
if (opt.joliet) {
if (sec->escape[2] == 0x40)
joliet_level = 1;
else if (sec->escape[2] == 0x43)
Expand Down

0 comments on commit 8711c67

Please sign in to comment.