diff options
| author | Arnd Bergmann <arnd@arndb.de> | 2015-09-27 23:45:40 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-09-29 05:06:18 +0300 |
| commit | 8c85bd76d3faad3ed6a3abefb636bc88287765d5 (patch) | |
| tree | 9babc61958002ea40abe29c4fb7de66ec8ba85c6 /include/linux/timerqueue.h | |
| parent | fdeccfdc37eff2125e926d4c78b02165711393ce (diff) | |
| download | linux-8c85bd76d3faad3ed6a3abefb636bc88287765d5.tar.xz | |
staging/lustre/llog: remove unused server code
Most of the code in llog.c and llog_cat.c is completely unused
on the client and can be removed, as a preparation for removing
the dt_object code.
Two tricky parts are:
- In llog_cat_close(), we rely on the fact that llh_flags never
contains LLOG_F_ZAP_WHEN_EMPTY, because nobody ever sets that
flag.
- In llog_read_header(), we check the return value of the lpi_cb
callback, and again we know that it cannot be LLOG_PROC_BREAK
or LLOG_DEL_RECORD and can remove the respective code path.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Oleg Drokin <green@linuxhacker.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
