Commit 514653e2 authored by Josef Sipek's avatar Josef Sipek Committed by Linus Torvalds

[PATCH] struct path: convert adfs

Signed-off-by: default avatarJosef Sipek <jsipek@fsl.cs.sunysb.edu>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent e678fb0d
...@@ -28,7 +28,7 @@ static DEFINE_RWLOCK(adfs_dir_lock); ...@@ -28,7 +28,7 @@ static DEFINE_RWLOCK(adfs_dir_lock);
static int static int
adfs_readdir(struct file *filp, void *dirent, filldir_t filldir) adfs_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; struct super_block *sb = inode->i_sb;
struct adfs_dir_ops *ops = ADFS_SB(sb)->s_dir; struct adfs_dir_ops *ops = ADFS_SB(sb)->s_dir;
struct object_info obj; struct object_info obj;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment