summaryrefslogtreecommitdiffstats
path: root/fs/adfs
diff options
context:
space:
mode:
authorJosef Sipek <jsipek@fsl.cs.sunysb.edu>2006-12-08 11:36:50 +0100
committerLinus Torvalds <torvalds@woody.osdl.org>2006-12-08 17:28:43 +0100
commit514653e25962c37b11fe648e4ef1c1130f697bcb (patch)
tree465c4b0b97591c0339805fe6d20c714c3a34e281 /fs/adfs
parent[PATCH] xfs: change uses of f_{dentry,vfsmnt} to use f_path (diff)
downloadlinux-514653e25962c37b11fe648e4ef1c1130f697bcb.tar.xz
linux-514653e25962c37b11fe648e4ef1c1130f697bcb.zip
[PATCH] struct path: convert adfs
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/adfs')
-rw-r--r--fs/adfs/dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/adfs/dir.c b/fs/adfs/dir.c
index d3c7905b2ddc..2b8903893d3f 100644
--- a/fs/adfs/dir.c
+++ b/fs/adfs/dir.c
@@ -28,7 +28,7 @@ static DEFINE_RWLOCK(adfs_dir_lock);
static int
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 adfs_dir_ops *ops = ADFS_SB(sb)->s_dir;
struct object_info obj;