Whamcloud - gitweb
LU-9859 libcfs: move misc-device registration closer to related code. 18/36118/2
authorNeilBrown <neilb@suse.com>
Mon, 9 Sep 2019 17:53:56 +0000 (13:53 -0400)
committerOleg Drokin <green@whamcloud.com>
Fri, 27 Sep 2019 23:11:31 +0000 (23:11 +0000)
commit84ebd81d4295bc42fd78539aa1bca63a2b3a9295
tree556256553aaa660ed283a5febee97dba11e417d5
parent4d6d58575d3d957aa3dbf38f83f749259b580bf2
LU-9859 libcfs: move misc-device registration closer to related code.

The ioctl handler for the misc device is in  lnet/libcfs/module.c
but is it registered in lnet/libcfs/linux/linux-module.c.

Keeping related code together make maintenance easier, so move the
code.

Linux-commit: b4ded66db93bbe1f5323ad38ce51bb1be114934f

Test-Parameters: trivial

Change-Id: Ia2b3590a769214fe964dab7a63fd5edcfd6c5042
Signed-off-by: NeilBrown <neilb@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-on: https://review.whamcloud.com/36118
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Neil Brown <neilb@suse.de>
Reviewed-by: Shaun Tancheff <stancheff@cray.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
libcfs/include/libcfs/libcfs.h
libcfs/include/libcfs/libcfs_private.h
libcfs/libcfs/linux/linux-module.c
libcfs/libcfs/module.c