diff options
author | Josef Sipek <jsipek@fsl.cs.sunysb.edu> | 2006-12-08 02:36:56 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-08 08:28:44 -0800 |
commit | d4176d326d76ddea457a5e42ac8c2e3aed3430b1 (patch) | |
tree | 840a215966e1bdf70a67b78767e0b3766657a31a /fs/coda/inode.c | |
parent | a7113a966241b700aecc7b8cb326cecb62e3c4b2 (diff) | |
download | op-kernel-dev-d4176d326d76ddea457a5e42ac8c2e3aed3430b1.zip op-kernel-dev-d4176d326d76ddea457a5e42ac8c2e3aed3430b1.tar.gz |
[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 'fs/coda/inode.c')
-rw-r--r-- | fs/coda/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/coda/inode.c b/fs/coda/inode.c index b64659f..01395de 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) { |