Whamcloud - gitweb
LU-2675 obd: remove dead code 84/9784/8
authorJohn L. Hammond <john.hammond@intel.com>
Sun, 25 May 2014 23:37:01 +0000 (19:37 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 30 May 2014 04:11:34 +0000 (04:11 +0000)
commit14d162c5438de959d0ea01fb1b40a7c5dfa764d1
tree423591caf64ebce77ce0199780a872efe97993ab
parent52d620153307605c54ea5cdb4fe95249d94081e6
LU-2675 obd: remove dead code

Remove unused OBD functions: obdo_to_inode(), is_osp_on_mdt(),
oti_init(), oti_alloc_cookies(), oti_free_cookies(),
obdo_from_iattr(), obdo_from_md(), obd_create_async(), obd_pin(),
obd_unpin(), obd_llog_connect(), obd_pin_observer(),
obd_unpin_observer(), md_is_subdir(), md_readpage(), obdo2fid().

Remove several unused, get-only, and set-only structure members.

Signed-off-by: John L. Hammond <john.hammond@intel.com>
Signed-off-by: James Simmons <uja.ornl@gmail.com>
Change-Id: I4a9567798259cfde0cf0ab0ae691daac21e29b9c
Reviewed-on: http://review.whamcloud.com/9784
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
27 files changed:
lustre/include/linux/obd_class.h
lustre/include/lustre/lustre_idl.h
lustre/include/lustre_import.h
lustre/include/lustre_log.h
lustre/include/lustre_req_layout.h
lustre/include/obd.h
lustre/include/obd_class.h
lustre/include/obd_support.h
lustre/include/obd_target.h
lustre/mdc/mdc_internal.h
lustre/mdc/mdc_lib.c
lustre/mdc/mdc_request.c
lustre/mdt/mdt_handler.c
lustre/obdclass/class_obd.c
lustre/obdclass/darwin/darwin-sysctl.c
lustre/obdclass/genops.c
lustre/obdclass/linux/linux-obdo.c
lustre/obdclass/lprocfs_status.c
lustre/obdclass/lprocfs_status_server.c
lustre/obdclass/obd_config.c
lustre/obdclass/obdo.c
lustre/obdecho/echo_client.c
lustre/ofd/ofd_dev.c
lustre/ofd/ofd_io.c
lustre/osc/osc_request.c
lustre/osd-ldiskfs/osd_io.c
lustre/ptlrpc/layout.c