linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git] / fs / exportfs / expfs.c
index 93e77c3..b06b54f 100644 (file)
@@ -102,7 +102,7 @@ find_exported_dentry(struct super_block *sb, void *obj, void *parent,
                if (acceptable(context, result))
                        return result;
                if (S_ISDIR(result->d_inode->i_mode)) {
-                       err = -EACCES;
+                       /* there is no other dentry, so fail */
                        goto err_result;
                }
 
@@ -315,7 +315,7 @@ struct getdents_callback {
  * the name matching the specified inode number.
  */
 static int filldir_one(void * __buf, const char * name, int len,
-                       loff_t pos, u64 ino, unsigned int d_type)
+                       loff_t pos, ino_t ino, unsigned int d_type)
 {
        struct getdents_callback *buf = __buf;
        int result = 0;