diff options
author | Josef Sipek <jsipek@fsl.cs.sunysb.edu> | 2006-12-08 05:37:22 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-08 11:28:48 -0500 |
commit | 92e5baef8578a03335059a3dec933955c361edc1 (patch) | |
tree | 570a0237167cb6e9b4bb25958fc87689ab057a31 /fs/ncpfs/inode.c | |
parent | 17506041de973bdc718b9a255d822e571b12b421 (diff) |
[PATCH] struct path: convert ncpfs
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/ncpfs/inode.c')
-rw-r--r-- | fs/ncpfs/inode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ncpfs/inode.c b/fs/ncpfs/inode.c index fae53243bb92..47462ac94474 100644 --- a/fs/ncpfs/inode.c +++ b/fs/ncpfs/inode.c | |||
@@ -471,7 +471,7 @@ static int ncp_fill_super(struct super_block *sb, void *raw_data, int silent) | |||
471 | if (!ncp_filp) | 471 | if (!ncp_filp) |
472 | goto out; | 472 | goto out; |
473 | error = -ENOTSOCK; | 473 | error = -ENOTSOCK; |
474 | sock_inode = ncp_filp->f_dentry->d_inode; | 474 | sock_inode = ncp_filp->f_path.dentry->d_inode; |
475 | if (!S_ISSOCK(sock_inode->i_mode)) | 475 | if (!S_ISSOCK(sock_inode->i_mode)) |
476 | goto out_fput; | 476 | goto out_fput; |
477 | sock = SOCKET_I(sock_inode); | 477 | sock = SOCKET_I(sock_inode); |
@@ -504,7 +504,7 @@ static int ncp_fill_super(struct super_block *sb, void *raw_data, int silent) | |||
504 | if (!server->info_filp) | 504 | if (!server->info_filp) |
505 | goto out_fput; | 505 | goto out_fput; |
506 | error = -ENOTSOCK; | 506 | error = -ENOTSOCK; |
507 | sock_inode = server->info_filp->f_dentry->d_inode; | 507 | sock_inode = server->info_filp->f_path.dentry->d_inode; |
508 | if (!S_ISSOCK(sock_inode->i_mode)) | 508 | if (!S_ISSOCK(sock_inode->i_mode)) |
509 | goto out_fput2; | 509 | goto out_fput2; |
510 | info_sock = SOCKET_I(sock_inode); | 510 | info_sock = SOCKET_I(sock_inode); |