mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-01-01 14:52:32 +00:00
drbd: Get rid of req_validator_fn typedef
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com> Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
This commit is contained in:
parent
e03c8dd149
commit
28c455ceb2
@ -4270,11 +4270,9 @@ static struct drbd_request *_ack_id_to_req(struct drbd_conf *mdev,
|
||||
return NULL;
|
||||
}
|
||||
|
||||
typedef struct drbd_request *(req_validator_fn)
|
||||
(struct drbd_conf *mdev, u64 id, sector_t sector);
|
||||
|
||||
static int validate_req_change_req_state(struct drbd_conf *mdev,
|
||||
u64 id, sector_t sector, req_validator_fn validator,
|
||||
u64 id, sector_t sector,
|
||||
struct drbd_request *(*validator)(struct drbd_conf *, u64, sector_t),
|
||||
const char *func, enum drbd_req_event what)
|
||||
{
|
||||
struct drbd_request *req;
|
||||
|
Loading…
Reference in New Issue
Block a user