/* * Invalidate any previously read metadata.  fsck may have * changed the on-disk data since we mounted r/o */ truncate_inode_pages(JFS_SBI(sb)->direct_inode->i_mapping, 0);  
static int jfs_remount(struct super_block *sb, int *flags, char *data){	s64 newLVSize = 0;	int rc = 0;	int flag = JFS_SBI(sb)->flag;	if (!parse_options(data, sb, &newLVSize, &flag)) {		return -EINVAL;	}	if (newLVSize) {		if (sb->s_flags & MS_RDONLY) {			printk(KERN_ERR		  "JFS: resize requires volume to be mounted read-write\n");			return -EROFS;		}		rc = jfs_extendfs(sb, newLVSize, 0);		if (rc)			return rc;	}	if ((sb->s_flags & MS_RDONLY) && !(*flags & MS_RDONLY)) {		JFS_SBI(sb)->flag = flag;		return jfs_mount_rw(sb, 1);	}	if ((!(sb->s_flags & MS_RDONLY)) && (*flags & MS_RDONLY)) {		rc = jfs_umount_rw(sb);		JFS_SBI(sb)->flag = flag;		return rc;	}	if ((JFS_SBI(sb)->flag & JFS_NOINTEGRITY) != (flag & JFS_NOINTEGRITY))		if (!(sb->s_flags & MS_RDONLY)) {			rc = jfs_umount_rw(sb);			if (rc)				return rc;			JFS_SBI(sb)->flag = flag;			return jfs_mount_rw(sb, 1);		}	JFS_SBI(sb)->flag = flag;	return 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/7fab479bebb96b1b4888bdae9b42e1fa9c5d3f38/super.c/buggy/fs/jfs/super.c