Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 114882
b: refs/heads/master
c: 81a7371
h: refs/heads/master
v: v3
  • Loading branch information
Mike Crowe authored and Linus Torvalds committed Oct 16, 2008
1 parent 2de326a commit 44a3840
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 152b95a1ed499075006cc6552ef49407deeb815b
refs/heads/master: 81a73719d1bc77774f6ac91e2476f22c56f18baf
2 changes: 1 addition & 1 deletion trunk/fs/hfsplus/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ static int hfsplus_fill_super(struct super_block *sb, void *data, int silent)
} else if (vhdr->attributes & cpu_to_be32(HFSPLUS_VOL_SOFTLOCK)) {
printk(KERN_WARNING "hfs: Filesystem is marked locked, mounting read-only.\n");
sb->s_flags |= MS_RDONLY;
} else if (vhdr->attributes & cpu_to_be32(HFSPLUS_VOL_JOURNALED)) {
} else if ((vhdr->attributes & cpu_to_be32(HFSPLUS_VOL_JOURNALED)) && !(sb->s_flags & MS_RDONLY)) {
printk(KERN_WARNING "hfs: write access to a journaled filesystem is not supported, "
"use the force option at your own risk, mounting read-only.\n");
sb->s_flags |= MS_RDONLY;
Expand Down

0 comments on commit 44a3840

Please sign in to comment.