diff options
author | John L. Hammond <john.hammond@intel.com> | 2018-03-30 15:10:06 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-04-23 14:56:00 +0200 |
commit | ba833f145745c5ca4d1d45b1de2541fe34b8f100 (patch) | |
tree | c3373bbf85b911783dc3fbab36af3d98e537cb72 /drivers/staging/lustre/lnet/libcfs/linux/linux-debug.c | |
parent | 2acf8359b371cf4c7b964faafa49dc8762c79ab4 (diff) | |
download | op-kernel-dev-ba833f145745c5ca4d1d45b1de2541fe34b8f100.zip op-kernel-dev-ba833f145745c5ca4d1d45b1de2541fe34b8f100.tar.gz |
staging: lustre: libcfs: use dynamic minors for /dev/{lnet, obd}
Request dynamic minor allocation when registering /dev/lnet and
/dev/obd.
Signed-off-by: John L. Hammond <john.hammond@intel.com>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-100086
Reviewed-on: https://review.whamcloud.com/29741
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Jian Yu <jian.yu@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
Signed-off-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: NeilBrown <neilb@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/lustre/lnet/libcfs/linux/linux-debug.c')
-rw-r--r-- | drivers/staging/lustre/lnet/libcfs/linux/linux-debug.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/lustre/lnet/libcfs/linux/linux-debug.c b/drivers/staging/lustre/lnet/libcfs/linux/linux-debug.c index 0092166..1d728f1 100644 --- a/drivers/staging/lustre/lnet/libcfs/linux/linux-debug.c +++ b/drivers/staging/lustre/lnet/libcfs/linux/linux-debug.c @@ -48,7 +48,6 @@ #include <linux/completion.h> #include <linux/fs.h> #include <linux/uaccess.h> -#include <linux/miscdevice.h> # define DEBUG_SUBSYSTEM S_LNET |