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:05 +0000 (00:39 +0000)
committerphil <phil>
Tue, 9 Sep 2003 00:39:05 +0000 (00:39 +0000)
commit00d17ba5fdd04581b835d8514e05568aa619573f
tree17d46f7a1bbae8e2b3532e54907d8998b49a73a9
parent82a8269ea91a290a9a3e2eb1e7b85744643d6ba9
- 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.c
lustre/obdclass/llog_lvfs.c