sb->s_flags |= MS_RDONLY; *flags |= MS_RDONLY; } else if (vhdr->attributes & cpu_to_be32(HFSPLUS_VOL_JOURNALED)) { printk("HFS+-fs: Filesystem is marked journaled, leaving read-only.\n"); 
static int hfsplus_remount(struct super_block *sb, int *flags, char *data){	if ((*flags & MS_RDONLY) == (sb->s_flags & MS_RDONLY))		return 0;	if (!(*flags & MS_RDONLY)) {		struct hfsplus_vh *vhdr = HFSPLUS_SB(sb).s_vhdr;		if (!(vhdr->attributes & cpu_to_be32(HFSPLUS_VOL_UNMNT))) {			printk("HFS+-fs warning: Filesystem was not cleanly unmounted, "			       "running fsck.hfsplus is recommended.  leaving read-only.\n");			sb->s_flags |= MS_RDONLY;			*flags |= MS_RDONLY;		} else if (vhdr->attributes & cpu_to_be32(HFSPLUS_VOL_SOFTLOCK)) {			printk("HFS+-fs: Filesystem is marked locked, leaving read-only.\n");			sb->s_flags |= MS_RDONLY;			*flags |= MS_RDONLY;		}	}	return 0;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/b0b623c3b22d57d6941b200321779d56c4e79e6b/super.c/clean/fs/hfsplus/super.c