patch-2.4.20 linux-2.4.20/fs/ncpfs/inode.c

Next file: linux-2.4.20/fs/ncpfs/ioctl.c
Previous file: linux-2.4.20/fs/ncpfs/dir.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.19/fs/ncpfs/inode.c linux-2.4.20/fs/ncpfs/inode.c
@@ -44,7 +44,7 @@
 	statfs:		ncp_statfs,
 };
 
-extern struct dentry_operations ncp_dentry_operations;
+extern struct dentry_operations ncp_root_dentry_operations;
 #ifdef CONFIG_NCPFS_EXTRAS
 extern struct address_space_operations ncp_symlink_aops;
 extern int ncp_symlink(struct inode*, struct dentry*, const char*);
@@ -443,7 +443,7 @@
 	sb->s_root = d_alloc_root(root_inode);
         if (!sb->s_root)
 		goto out_no_root;
-	sb->s_root->d_op = &ncp_dentry_operations;
+	sb->s_root->d_op = &ncp_root_dentry_operations;
 	return sb;
 
 out_no_root:

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)