vfs: fix return type of ioctl_file_dedupe_range
[linux-2.6-block.git] / include / linux / pr.h
CommitLineData
bbd3e064
CH
1#ifndef LINUX_PR_H
2#define LINUX_PR_H
3
4#include <uapi/linux/pr.h>
5
6struct pr_ops {
7 int (*pr_register)(struct block_device *bdev, u64 old_key, u64 new_key,
8 u32 flags);
9 int (*pr_reserve)(struct block_device *bdev, u64 key,
10 enum pr_type type, u32 flags);
11 int (*pr_release)(struct block_device *bdev, u64 key,
12 enum pr_type type);
13 int (*pr_preempt)(struct block_device *bdev, u64 old_key, u64 new_key,
14 enum pr_type type, bool abort);
15 int (*pr_clear)(struct block_device *bdev, u64 key);
16};
17
18#endif /* LINUX_PR_H */