Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Land b_head_interop_disk on HEAD (20081119_1314)
[fs/lustre-release.git]
/
lustre
/
llite
/
llite_fid.c
diff --git
a/lustre/llite/llite_fid.c
b/lustre/llite/llite_fid.c
index
15c4021
..
eab0e84
100644
(file)
--- a/
lustre/llite/llite_fid.c
+++ b/
lustre/llite/llite_fid.c
@@
-77,3
+77,15
@@
ino_t ll_fid_build_ino(struct ll_sb_info *sbi,
ino = ino | 0x80000000;
RETURN(ino);
}
+
+__u32 ll_fid_build_gen(struct ll_sb_info *sbi,
+ struct lu_fid *fid)
+{
+ __u32 gen = 0;
+ ENTRY;
+
+ if (fid_is_igif(fid)) {
+ gen = lu_igif_gen(fid);
+ }
+ RETURN(gen);
+}