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
New tag 2.8.57
[fs/lustre-release.git]
/
lustre
/
obdclass
/
llog_osd.c
diff --git
a/lustre/obdclass/llog_osd.c
b/lustre/obdclass/llog_osd.c
index
0523075
..
4fc0b4e
100644
(file)
--- a/
lustre/obdclass/llog_osd.c
+++ b/
lustre/obdclass/llog_osd.c
@@
-128,6
+128,12
@@
static int llog_osd_exist(struct llog_handle *handle)
!lu_object_is_dying(handle->lgh_obj->do_lu.lo_header);
}
+static void *rec_tail(struct llog_rec_hdr *rec)
+{
+ return (void *)((char *)rec + rec->lrh_len -
+ sizeof(struct llog_rec_tail));
+}
+
/**
* Write a padding record to the llog
*