Pārlūkot izejas kodu

[PATCH] struct path: convert cramfs

Signed-off-by: Josef Sipek <jsipek@fsl.cs.sunysb.edu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Josef Sipek 18 gadi atpakaļ
vecāks
revīzija
352d8af748
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      fs/cramfs/inode.c

+ 1 - 1
fs/cramfs/inode.c

@@ -338,7 +338,7 @@ static int cramfs_statfs(struct dentry *dentry, struct kstatfs *buf)
  */
 static int cramfs_readdir(struct file *filp, void *dirent, filldir_t filldir)
 {
-	struct inode *inode = filp->f_dentry->d_inode;
+	struct inode *inode = filp->f_path.dentry->d_inode;
 	struct super_block *sb = inode->i_sb;
 	char *buf;
 	unsigned int offset;