Whamcloud - gitweb
- fixes in lustre_swab_lu_fid()
authoryury <yury>
Thu, 6 Apr 2006 07:41:54 +0000 (07:41 +0000)
committeryury <yury>
Thu, 6 Apr 2006 07:41:54 +0000 (07:41 +0000)
lustre/obdclass/llog_swab.c

index c1e911a..097a95a 100644 (file)
@@ -87,9 +87,8 @@ EXPORT_SYMBOL(lustre_swab_ll_fid);
 
 void lustre_swab_lu_fid(struct lu_fid *fid)
 {
-        __swab32s (&fid->f_seq);
-        __swab16s (&fid->f_wid);
-        __swab16s (&fid->f_num);
+        __swab64s (&fid->f_seq);
+        __swab64s (&fid->f_num);
 }
 EXPORT_SYMBOL(lustre_swab_lu_fid);