Whamcloud - gitweb
LU-3382 build: clean unused link dependencies
[fs/lustre-release.git] / lustre / liblustre / dir.c
index 5282eae..b14e1a2 100644 (file)
@@ -86,9 +86,8 @@ static int llu_dir_do_readpage(struct inode *inode, struct page *page)
                        .ei_cbdata      = inode,
                };
 
-                rc = md_enqueue(sbi->ll_md_exp, &einfo, &it,
-                                &op_data, &lockh, NULL, 0, NULL,
-                                LDLM_FL_CANCEL_ON_BLOCK);
+               rc = md_enqueue(sbi->ll_md_exp, &einfo, NULL, &it, &op_data,
+                               &lockh, LDLM_FL_CANCEL_ON_BLOCK);
                 request = (struct ptlrpc_request *)it.d.lustre.it_data;
                 if (request)
                         ptlrpc_req_finished(request);
@@ -146,8 +145,8 @@ static void *(*memmover)(void *, const void *, size_t) = memmove;
 static int filldir(char *buf, int buflen, const char *name, int namelen,
                   loff_t offset, ino_t ino, unsigned int d_type, int *filled)
 {
-       struct dirent64 *dirent = (struct dirent64 *)(buf + *filled);
-       struct dirent64  holder;
+       struct intnl_dirent *dirent = (struct intnl_dirent *)(buf + *filled);
+       struct intnl_dirent holder;
        int reclen = ROUND_UP64(NAME_OFFSET(dirent) + namelen + 1);
 
         /*