diff options
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 60047dbeb38d..0c75a5f3cafd 100644 --- a/fs/ncpfs/inode.c +++ b/fs/ncpfs/inode.c | |||
@@ -717,7 +717,7 @@ static int ncp_fill_super(struct super_block *sb, void *raw_data, int silent) | |||
717 | sb->s_root = d_alloc_root(root_inode); | 717 | sb->s_root = d_alloc_root(root_inode); |
718 | if (!sb->s_root) | 718 | if (!sb->s_root) |
719 | goto out_no_root; | 719 | goto out_no_root; |
720 | sb->s_root->d_op = &ncp_root_dentry_operations; | 720 | d_set_d_op(sb->s_root, &ncp_root_dentry_operations); |
721 | return 0; | 721 | return 0; |
722 | 722 | ||
723 | out_no_root: | 723 | out_no_root: |