summaryrefslogtreecommitdiff
path: root/fs/romfs/inode.c
diff options
context:
space:
mode:
authorJosef Sipek <jsipek@fsl.cs.sunysb.edu>2006-12-08 13:37:34 +0300
committerLinus Torvalds <torvalds@woody.osdl.org>2006-12-08 19:28:49 +0300
commit3027795e7b873da643e851d62d17f6bcc43d6e4a (patch)
treea2566eaa4090ac68a38de0c98cca47a28c2e8500 /fs/romfs/inode.c
parent1fc5adbd1916793c19d25347f484806c124d9be7 (diff)
downloadlinux-3027795e7b873da643e851d62d17f6bcc43d6e4a.tar.xz
[PATCH] struct path: convert romfs
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>
Diffstat (limited to 'fs/romfs/inode.c')
-rw-r--r--fs/romfs/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/romfs/inode.c b/fs/romfs/inode.c
index c5af088d4a4c..d3e243a6f609 100644
--- a/fs/romfs/inode.c
+++ b/fs/romfs/inode.c
@@ -276,7 +276,7 @@ static unsigned char romfs_dtype_table[] = {
static int
romfs_readdir(struct file *filp, void *dirent, filldir_t filldir)
{
- struct inode *i = filp->f_dentry->d_inode;
+ struct inode *i = filp->f_path.dentry->d_inode;
struct romfs_inode ri;
unsigned long offset, maxoff;
int j, ino, nextfh;