HEX
Server: LiteSpeed
System: Linux CentOS-79-64-minimal 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User: vishn3436 (5293)
PHP: 8.0.15
Disabled: NONE
Upload Files
File: //usr/src/dattobd-0.11.2/snap_ops.h
// SPDX-License-Identifier: GPL-2.0-only

/*
 * Copyright (C) 2022 Datto Inc.
 */
#ifndef SNAP_OPS_H_
#define SNAP_OPS_H_

#include "mrf.h"

const struct block_device_operations *get_snap_ops(void);

#ifndef USE_BDOPS_SUBMIT_BIO
// Linux version < 5.9
MRF_RETURN_TYPE snap_mrf(struct request_queue *q, struct bio *bio);
#else
// Linux version >= 5.9
MRF_RETURN_TYPE snap_mrf(struct bio *bio);
#endif

#endif /* SNAP_OPS_H_ */