summaryrefslogtreecommitdiffstats
path: root/fs/romfs/inode.c
diff options
context:
space:
mode:
authorJosef Sipek <jsipek@fsl.cs.sunysb.edu>2006-12-08 11:37:34 +0100
committerLinus Torvalds <torvalds@woody.osdl.org>2006-12-08 17:28:49 +0100
commit3027795e7b873da643e851d62d17f6bcc43d6e4a (patch)
treea2566eaa4090ac68a38de0c98cca47a28c2e8500 /fs/romfs/inode.c
parent[PATCH] struct path: convert reiserfs (diff)
downloadlinux-3027795e7b873da643e851d62d17f6bcc43d6e4a.tar.xz
linux-3027795e7b873da643e851d62d17f6bcc43d6e4a.zip
[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 '')
-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;