diff options
author | Josef Sipek <jsipek@fsl.cs.sunysb.edu> | 2006-12-08 05:37:34 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-08 11:28:49 -0500 |
commit | 3027795e7b873da643e851d62d17f6bcc43d6e4a (patch) | |
tree | a2566eaa4090ac68a38de0c98cca47a28c2e8500 /fs/romfs | |
parent | 1fc5adbd1916793c19d25347f484806c124d9be7 (diff) |
[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')
-rw-r--r-- | fs/romfs/inode.c | 2 |
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[] = { | |||
276 | static int | 276 | static int |
277 | romfs_readdir(struct file *filp, void *dirent, filldir_t filldir) | 277 | romfs_readdir(struct file *filp, void *dirent, filldir_t filldir) |
278 | { | 278 | { |
279 | struct inode *i = filp->f_dentry->d_inode; | 279 | struct inode *i = filp->f_path.dentry->d_inode; |
280 | struct romfs_inode ri; | 280 | struct romfs_inode ri; |
281 | unsigned long offset, maxoff; | 281 | unsigned long offset, maxoff; |
282 | int j, ino, nextfh; | 282 | int j, ino, nextfh; |