Whamcloud - gitweb
- clear 'rc' if rc == LLOG_EMPTY in llog_init_handle, so we don't free
authorphil <phil>
Tue, 9 Sep 2003 00:39:06 +0000 (00:39 +0000)
committerphil <phil>
Tue, 9 Sep 2003 00:39:06 +0000 (00:39 +0000)
commit60a38bb7033d3302f16a2baa569e60c96c21b6cb
tree771ffe1d1763820234577028f2e4c9d5e9ce8e78
parent7da6784dd7e206d933821905ab9a9b3a97da2d5b
- clear 'rc' if rc == LLOG_EMPTY in llog_init_handle, so we don't free
  the header and return an error that our caller doesn't expect
- don't call llog_lvfs_pad if left == reclen, only if 0 < left < reclen
- fix the uuid magic in llog_test
- call llog_init_handle in the right places, and don't forget to close
  the log if one of the 1a checks fail
lustre/obdclass/llog_test.c