projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
target/file: Add DIF protection support to fd_execute_rw
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
target
/
target_core_file.h
diff --git
a/drivers/target/target_core_file.h
b/drivers/target/target_core_file.h
index 583691ebcbe0405fb95b6255271685312f8acbab..97e5e7dd4259df84cdacfddf9fc4d0232ab42066 100644
(file)
--- a/
drivers/target/target_core_file.h
+++ b/
drivers/target/target_core_file.h
@@
-18,6
+18,11
@@
#define FDBD_HAS_BUFFERED_IO_WCE 0x04
#define FDBD_FORMAT_UNIT_SIZE 2048
+struct fd_prot {
+ unsigned char *prot_buf;
+ struct scatterlist *prot_sg;
+ u32 prot_sg_nents;
+};
struct fd_dev {
struct se_device dev;