context must be known by all files
git-svn-id: svn+ssh://en.codiert.org/home/staff/ben/dev/misc.svn/projects/fpgafs@362 766a2236-cff9-0310-b0c0-a81a5f92509a
This commit is contained in:
		
							parent
							
								
									f5d0dc0306
								
							
						
					
					
						commit
						ca5187056b
					
				
							
								
								
									
										2
									
								
								inode.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								inode.c
									
									
									
									
									
								
							@ -143,7 +143,7 @@ static int fpgafs_new_file(struct super_block *sb, struct dentry *dentry,
 | 
			
		||||
	ret = 0;
 | 
			
		||||
	inode->i_op = &fpgafs_file_iops;
 | 
			
		||||
	inode->i_fop = fops;
 | 
			
		||||
	//inode->i_private = SPUFS_I(inode)->i_ctx = get_spu_context(ctx);
 | 
			
		||||
	inode->i_private = FPGAFS_I(inode)->i_ctx = ctx;
 | 
			
		||||
	d_add(dentry, inode);
 | 
			
		||||
out:
 | 
			
		||||
	return ret;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user