summaryrefslogtreecommitdiff
path: root/fs/adfs/dir.c
diff options
context:
space:
mode:
authorJosef Sipek <jsipek@fsl.cs.sunysb.edu>2006-12-08 02:36:50 -0800
committerLinus Torvalds <torvalds@woody.osdl.org>2006-12-08 08:28:43 -0800
commit514653e25962c37b11fe648e4ef1c1130f697bcb (patch)
tree465c4b0b97591c0339805fe6d20c714c3a34e281 /fs/adfs/dir.c
parente678fb0d523c118fc2f903d62cb54c89b6b68185 (diff)
downloadlinux-3.10-514653e25962c37b11fe648e4ef1c1130f697bcb.tar.gz
linux-3.10-514653e25962c37b11fe648e4ef1c1130f697bcb.tar.bz2
linux-3.10-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/dir.c')
-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 d3c7905b2dd..2b8903893d3 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;