Whamcloud - gitweb
LU-709 build: remove old BGL support option
[fs/lustre-release.git] / lustre / osd-ldiskfs / osd_igif.c
index 8df57ab..de960e8 100644 (file)
@@ -26,6 +26,8 @@
 /*
  * Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
  * Use is subject to license terms.
+ *
+ * Copyright (c) 2012, Intel Corporation.
  */
 /*
  * This file is part of Lustre, http://www.lustre.org/
@@ -55,8 +57,6 @@
 
 void lu_igif_to_id(const struct lu_fid *fid, struct osd_inode_id *id)
 {
-        LASSERT(fid_is_igif(fid));
-        id->oii_ino = lu_igif_ino(fid);
-        id->oii_gen = lu_igif_gen(fid);
+       LASSERT(fid_is_igif(fid));
+       osd_id_gen(id, lu_igif_ino(fid), lu_igif_gen(fid));
 }
-