Whamcloud - gitweb
to fix bug introduced by lu_dirent-change patch
authorpravins <pravins>
Thu, 10 Apr 2008 12:50:47 +0000 (12:50 +0000)
committerpravins <pravins>
Thu, 10 Apr 2008 12:50:47 +0000 (12:50 +0000)
lustre/llite/dir.c
lustre/lmv/lmv_obd.c

index 74f8abc..38ef79a 100644 (file)
@@ -381,7 +381,7 @@ int ll_readdir(struct file *filp, void *cookie, filldir_t filldir)
         struct inode         *inode = filp->f_dentry->d_inode;
         struct ll_inode_info *info  = ll_i2info(inode);
         struct ll_sb_info    *sbi   = ll_i2sbi(inode);
-        __u32                 pos   = filp->f_pos;
+        __u64                 pos   = filp->f_pos;
         struct page          *page;
         struct ll_dir_chain   chain;
         int rc;
index 501592c..c03937b 100644 (file)
@@ -2324,7 +2324,7 @@ static int lmv_readpage(struct obd_export *exp, const struct lu_fid *fid,
                         lmv_hash_adjust(&ent->lde_hash, hash_adj);
 
                 if (tgt0 != nr - 1) {
-                        __u32 end;
+                        __u64 end;
 
                         end = le32_to_cpu(dp->ldp_hash_end);
                         if (end == DIR_END_OFF) {