mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-04-24 14:07:52 -04:00
drbd: split off drbd_config into separate file
To be more similar to what we do in the out-of-tree module and ease the upstreaming process. Signed-off-by: Christoph Böhmwalder <christoph.boehmwalder@linbit.com> Reviewed-by: Joel Colledge <joel.colledge@linbit.com> Link: https://lore.kernel.org/r/20230113123506.144082-4-christoph.boehmwalder@linbit.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
parent
4e2da933b9
commit
20f2a34a42
4 changed files with 18 additions and 7 deletions
|
@ -1,5 +1,5 @@
|
|||
// SPDX-License-Identifier: GPL-2.0-only
|
||||
#include <linux/drbd.h>
|
||||
#include <linux/drbd_config.h>
|
||||
#include <linux/module.h>
|
||||
|
||||
const char *drbd_buildtag(void)
|
||||
|
|
|
@ -34,6 +34,7 @@
|
|||
#include <linux/prefetch.h>
|
||||
#include <linux/drbd_genl_api.h>
|
||||
#include <linux/drbd.h>
|
||||
#include <linux/drbd_config.h>
|
||||
#include "drbd_strings.h"
|
||||
#include "drbd_state.h"
|
||||
#include "drbd_protocol.h"
|
||||
|
|
|
@ -38,12 +38,6 @@
|
|||
|
||||
#endif
|
||||
|
||||
extern const char *drbd_buildtag(void);
|
||||
#define REL_VERSION "8.4.11"
|
||||
#define PRO_VERSION_MIN 86
|
||||
#define PRO_VERSION_MAX 101
|
||||
|
||||
|
||||
enum drbd_io_error_p {
|
||||
EP_PASS_ON, /* FIXME should the better be named "Ignore"? */
|
||||
EP_CALL_HELPER,
|
||||
|
|
16
include/linux/drbd_config.h
Normal file
16
include/linux/drbd_config.h
Normal file
|
@ -0,0 +1,16 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
/*
|
||||
* drbd_config.h
|
||||
* DRBD's compile time configuration.
|
||||
*/
|
||||
|
||||
#ifndef DRBD_CONFIG_H
|
||||
#define DRBD_CONFIG_H
|
||||
|
||||
extern const char *drbd_buildtag(void);
|
||||
|
||||
#define REL_VERSION "8.4.11"
|
||||
#define PRO_VERSION_MIN 86
|
||||
#define PRO_VERSION_MAX 101
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue