]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/target/target_core_pr.h
target: simplify reservations code
[karo-tx-linux.git] / drivers / target / target_core_pr.h
index 78451437d2c25db1d05c4492967d72710069a541..7616f2690ca04e972afc18bc164e3dc8712d6c71 100644 (file)
@@ -63,6 +63,6 @@ extern unsigned char *core_scsi3_pr_dump_type(int);
 
 extern int target_scsi3_emulate_pr_in(struct se_cmd *);
 extern int target_scsi3_emulate_pr_out(struct se_cmd *);
-extern void core_setup_reservations(struct se_device *);
+extern int target_check_reservation(struct se_cmd *cmd);
 
 #endif /* TARGET_CORE_PR_H */