]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/ncpfs/dir.c
hwmon: (lm78) Detect alias chips
[linux-2.6-omap-h63xx.git] / fs / ncpfs / dir.c
index 73747772c3bb23434ea8bdc2cb4a9630fffea3f2..07e9715b865887042b899299effe1c4f37a7e106 100644 (file)
@@ -58,7 +58,7 @@ const struct file_operations ncp_dir_operations =
 #endif
 };
 
-struct inode_operations ncp_dir_inode_operations =
+const struct inode_operations ncp_dir_inode_operations =
 {
        .create         = ncp_create,
        .lookup         = ncp_lookup,
@@ -266,7 +266,7 @@ leave_me:;
 
 
 static int
-__ncp_lookup_validate(struct dentry * dentry, struct nameidata *nd)
+__ncp_lookup_validate(struct dentry *dentry)
 {
        struct ncp_server *server;
        struct dentry *parent;
@@ -340,7 +340,7 @@ ncp_lookup_validate(struct dentry * dentry, struct nameidata *nd)
 {
        int res;
        lock_kernel();
-       res = __ncp_lookup_validate(dentry, nd);
+       res = __ncp_lookup_validate(dentry);
        unlock_kernel();
        return res;
 }