diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2011-01-12 17:25:03 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2011-01-12 20:03:43 -0500 |
commit | 0378c4051a621303ae919f1cee832206a4c1aa68 (patch) | |
tree | b63adbb4bd6df51470145831728250982dd5ccb4 /fs/ncpfs/inode.c | |
parent | 98cd3fb0a2c376f583216ec35f66175a71b2ef67 (diff) |
switch ncpfs
merge dentry_operations for root and non-root
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/ncpfs/inode.c')
-rw-r--r-- | fs/ncpfs/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ncpfs/inode.c b/fs/ncpfs/inode.c index 9b39a5dd4131..8b8bebbb9601 100644 --- a/fs/ncpfs/inode.c +++ b/fs/ncpfs/inode.c | |||
@@ -544,6 +544,7 @@ static int ncp_fill_super(struct super_block *sb, void *raw_data, int silent) | |||
544 | sb->s_blocksize_bits = 10; | 544 | sb->s_blocksize_bits = 10; |
545 | sb->s_magic = NCP_SUPER_MAGIC; | 545 | sb->s_magic = NCP_SUPER_MAGIC; |
546 | sb->s_op = &ncp_sops; | 546 | sb->s_op = &ncp_sops; |
547 | sb->s_d_op = &ncp_dentry_operations; | ||
547 | sb->s_bdi = &server->bdi; | 548 | sb->s_bdi = &server->bdi; |
548 | 549 | ||
549 | server = NCP_SBP(sb); | 550 | server = NCP_SBP(sb); |
@@ -723,7 +724,6 @@ static int ncp_fill_super(struct super_block *sb, void *raw_data, int silent) | |||
723 | sb->s_root = d_alloc_root(root_inode); | 724 | sb->s_root = d_alloc_root(root_inode); |
724 | if (!sb->s_root) | 725 | if (!sb->s_root) |
725 | goto out_no_root; | 726 | goto out_no_root; |
726 | d_set_d_op(sb->s_root, &ncp_root_dentry_operations); | ||
727 | return 0; | 727 | return 0; |
728 | 728 | ||
729 | out_no_root: | 729 | out_no_root: |