diff options
author | Josef Sipek <jsipek@fsl.cs.sunysb.edu> | 2006-12-08 10:37:25 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-08 16:28:48 (GMT) |
commit | d28c91740ae2cd1d963f9e4e3889789894cb6d52 (patch) | |
tree | 0f519133422e1248b6e7519960877dd062f4c2b5 /fs/ocfs2/dir.c | |
parent | 6db5fc5d536560e31978c6911b1f5662e42083ac (diff) | |
download | linux-d28c91740ae2cd1d963f9e4e3889789894cb6d52.tar.xz |
[PATCH] struct path: convert ocfs2
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/ocfs2/dir.c')
-rw-r--r-- | fs/ocfs2/dir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ocfs2/dir.c b/fs/ocfs2/dir.c index baad2aa..66821e1 100644 --- a/fs/ocfs2/dir.c +++ b/fs/ocfs2/dir.c @@ -79,7 +79,7 @@ int ocfs2_readdir(struct file * filp, void * dirent, filldir_t filldir) struct buffer_head * bh, * tmp; struct ocfs2_dir_entry * de; int err; - struct inode *inode = filp->f_dentry->d_inode; + struct inode *inode = filp->f_path.dentry->d_inode; struct super_block * sb = inode->i_sb; unsigned int ra_sectors = 16; int lock_level = 0; |