[PATCH] 9p: change uses of f_{dentry,vfsmnt} to use f_path
Change all the uses of f_{dentry,vfsmnt} to f_path.{dentry,mnt} in the 9p filesystem. Signed-off-by: Josef "Jeff" Sipek <jsipek@cs.sunysb.edu> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
d3ac7f892b
commit
d6f787bcee
@@ -54,7 +54,7 @@ static int v9fs_vfs_readpage(struct file *filp, struct page *page)
|
||||
int retval = -EIO;
|
||||
loff_t offset = page_offset(page);
|
||||
int count = PAGE_CACHE_SIZE;
|
||||
struct inode *inode = filp->f_dentry->d_inode;
|
||||
struct inode *inode = filp->f_path.dentry->d_inode;
|
||||
struct v9fs_session_info *v9ses = v9fs_inode2v9ses(inode);
|
||||
int rsize = v9ses->maxdata - V9FS_IOHDRSZ;
|
||||
struct v9fs_fid *v9f = filp->private_data;
|
||||
|
Reference in New Issue
Block a user