Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 119133 Details for
Bug 178398
sys-fs/hfsplusutils - impossible to remount an uncleanly unmounted hfsplus partition
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to fix this behavior
super-patch.diff (text/plain), 1.27 KB, created by
Solra Bizna
on 2007-05-13 18:04:09 UTC
(
hide
)
Description:
Patch to fix this behavior
Filename:
MIME Type:
Creator:
Solra Bizna
Created:
2007-05-13 18:04:09 UTC
Size:
1.27 KB
patch
obsolete
>--- linux-old/fs/hfsplus/super.c 2007-05-13 17:57:27.000000000 +0000 >+++ linux-new/fs/hfsplus/super.c 2007-05-13 17:58:09.000000000 +0000 >@@ -242,10 +242,9 @@ > > if (!(vhdr->attributes & cpu_to_be32(HFSPLUS_VOL_UNMNT))) { > printk(KERN_WARNING "hfs: filesystem was not cleanly unmounted, " >- "running fsck.hfsplus is recommended. leaving read-only.\n"); >- sb->s_flags |= MS_RDONLY; >- *flags |= MS_RDONLY; >- } else if (sbi.flags & HFSPLUS_SB_FORCE) { >+ "running fsck.hfsplus is recommended.\n"); >+ } >+ if (sbi.flags & HFSPLUS_SB_FORCE) { > /* nothing */ > } else if (vhdr->attributes & cpu_to_be32(HFSPLUS_VOL_SOFTLOCK)) { > printk(KERN_WARNING "hfs: filesystem is marked locked, leaving read-only.\n"); >@@ -342,9 +341,9 @@ > > if (!(vhdr->attributes & cpu_to_be32(HFSPLUS_VOL_UNMNT))) { > printk(KERN_WARNING "hfs: Filesystem was not cleanly unmounted, " >- "running fsck.hfsplus is recommended. mounting read-only.\n"); >- sb->s_flags |= MS_RDONLY; >- } else if (sbi->flags & HFSPLUS_SB_FORCE) { >+ "running fsck.hfsplus is recommended.\n"); >+ } >+ if (sbi->flags & HFSPLUS_SB_FORCE) { > /* nothing */ > } else if (vhdr->attributes & cpu_to_be32(HFSPLUS_VOL_SOFTLOCK)) { > printk(KERN_WARNING "hfs: Filesystem is marked locked, mounting read-only.\n");
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 178398
: 119133