source: freewrt/target/linux/generic-2.4/patches/203-hfsplus_fix.patch@ a3abab6

freewrt_1_0 freewrt_2_0
Last change on this file since a3abab6 was 475ad56, checked in by Waldemar Brodkorb <wbx@…>, 20 years ago

add OpenWrt trunk revision 3830.

git-svn-id: svn://www.freewrt.org/trunk/freewrt@1 afb5a338-a214-0410-bd46-81f09a774fd1

  • Property mode set to 100644
File size: 1.1 KB
  • fs/hfsplus/super.c

    diff -urN linux-2.4.30.old/fs/hfsplus/super.c linux-2.4.30.dev/fs/hfsplus/super.c
    old new  
    240240        if (!(*flags & MS_RDONLY)) {
    241241                struct hfsplus_vh *vhdr = HFSPLUS_SB(sb).s_vhdr;
    242242
    243                 if ((vhdr->attributes & cpu_to_be32(HFSPLUS_VOL_INCNSTNT)) ||
    244                     !(vhdr->attributes & cpu_to_be32(HFSPLUS_VOL_UNMNT))) {
     243                if (!(vhdr->attributes & cpu_to_be32(HFSPLUS_VOL_UNMNT))) {
    245244                        printk("HFS+-fs warning: Filesystem was not cleanly unmounted, "
    246245                               "running fsck.hfsplus is recommended.  leaving read-only.\n");
    247246                        sb->s_flags |= MS_RDONLY;
     
    343342        /* Set up operations so we can load metadata */
    344343        sb->s_op = &hfsplus_sops;
    345344
    346         if ((vhdr->attributes & cpu_to_be32(HFSPLUS_VOL_INCNSTNT)) ||
    347             !(vhdr->attributes & cpu_to_be32(HFSPLUS_VOL_UNMNT))) {
     345        if (!(vhdr->attributes & cpu_to_be32(HFSPLUS_VOL_UNMNT))) {
    348346                if (!silent)
    349347                        printk("HFS+-fs warning: Filesystem was not cleanly unmounted, "
    350348                               "running fsck.hfsplus is recommended.  mounting read-only.\n");
Note: See TracBrowser for help on using the repository browser.