summaryrefslogtreecommitdiffstats
path: root/fs/coda/inode.c
diff options
context:
space:
mode:
authorJosef Sipek <jsipek@fsl.cs.sunysb.edu>2006-12-08 11:36:56 +0100
committerLinus Torvalds <torvalds@woody.osdl.org>2006-12-08 17:28:44 +0100
commitd4176d326d76ddea457a5e42ac8c2e3aed3430b1 (patch)
tree840a215966e1bdf70a67b78767e0b3766657a31a /fs/coda/inode.c
parent[PATCH] struct path: convert char-drivers (diff)
downloadlinux-d4176d326d76ddea457a5e42ac8c2e3aed3430b1.tar.xz
linux-d4176d326d76ddea457a5e42ac8c2e3aed3430b1.zip
[PATCH] struct path: convert coda
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 '')
-rw-r--r--fs/coda/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/coda/inode.c b/fs/coda/inode.c
index b64659fa82d0..01395defed85 100644
--- a/fs/coda/inode.c
+++ b/fs/coda/inode.c
@@ -119,7 +119,7 @@ static int get_device_index(struct coda_mount_data *data)
file = fget(data->fd);
inode = NULL;
if(file)
- inode = file->f_dentry->d_inode;
+ inode = file->f_path.dentry->d_inode;
if(!inode || !S_ISCHR(inode->i_mode) ||
imajor(inode) != CODA_PSDEV_MAJOR) {