diff options
Diffstat (limited to 'fs/ncpfs/inode.c')
-rw-r--r-- | fs/ncpfs/inode.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/fs/ncpfs/inode.c b/fs/ncpfs/inode.c index 9b39a5dd413..00a1d1c3d3a 100644 --- a/fs/ncpfs/inode.c +++ b/fs/ncpfs/inode.c | |||
@@ -31,11 +31,9 @@ | |||
31 | #include <linux/seq_file.h> | 31 | #include <linux/seq_file.h> |
32 | #include <linux/namei.h> | 32 | #include <linux/namei.h> |
33 | 33 | ||
34 | #include <linux/ncp_fs.h> | ||
35 | |||
36 | #include <net/sock.h> | 34 | #include <net/sock.h> |
37 | 35 | ||
38 | #include "ncplib_kernel.h" | 36 | #include "ncp_fs.h" |
39 | #include "getopt.h" | 37 | #include "getopt.h" |
40 | 38 | ||
41 | #define NCP_DEFAULT_FILE_MODE 0600 | 39 | #define NCP_DEFAULT_FILE_MODE 0600 |
@@ -544,6 +542,7 @@ static int ncp_fill_super(struct super_block *sb, void *raw_data, int silent) | |||
544 | sb->s_blocksize_bits = 10; | 542 | sb->s_blocksize_bits = 10; |
545 | sb->s_magic = NCP_SUPER_MAGIC; | 543 | sb->s_magic = NCP_SUPER_MAGIC; |
546 | sb->s_op = &ncp_sops; | 544 | sb->s_op = &ncp_sops; |
545 | sb->s_d_op = &ncp_dentry_operations; | ||
547 | sb->s_bdi = &server->bdi; | 546 | sb->s_bdi = &server->bdi; |
548 | 547 | ||
549 | server = NCP_SBP(sb); | 548 | server = NCP_SBP(sb); |
@@ -723,7 +722,6 @@ static int ncp_fill_super(struct super_block *sb, void *raw_data, int silent) | |||
723 | sb->s_root = d_alloc_root(root_inode); | 722 | sb->s_root = d_alloc_root(root_inode); |
724 | if (!sb->s_root) | 723 | if (!sb->s_root) |
725 | goto out_no_root; | 724 | goto out_no_root; |
726 | d_set_d_op(sb->s_root, &ncp_root_dentry_operations); | ||
727 | return 0; | 725 | return 0; |
728 | 726 | ||
729 | out_no_root: | 727 | out_no_root: |