source:
freewrt/target/linux/generic-2.4/patches/203-hfsplus_fix.patch@
a3abab6
| Last change on this file since a3abab6 was 475ad56, checked in by , 20 years ago | |
|---|---|
|
|
| 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 240 240 if (!(*flags & MS_RDONLY)) { 241 241 struct hfsplus_vh *vhdr = HFSPLUS_SB(sb).s_vhdr; 242 242 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))) { 245 244 printk("HFS+-fs warning: Filesystem was not cleanly unmounted, " 246 245 "running fsck.hfsplus is recommended. leaving read-only.\n"); 247 246 sb->s_flags |= MS_RDONLY; … … 343 342 /* Set up operations so we can load metadata */ 344 343 sb->s_op = &hfsplus_sops; 345 344 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))) { 348 346 if (!silent) 349 347 printk("HFS+-fs warning: Filesystem was not cleanly unmounted, " 350 348 "running fsck.hfsplus is recommended. mounting read-only.\n");
Note:
See TracBrowser
for help on using the repository browser.
