diff options
Diffstat (limited to 'drivers/scsi')
-rw-r--r-- | drivers/scsi/osst.c | 2 | ||||
-rw-r--r-- | drivers/scsi/st.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/osst.c b/drivers/scsi/osst.c index ce0ba3a174f9..4a2fed350d4e 100644 --- a/drivers/scsi/osst.c +++ b/drivers/scsi/osst.c | |||
@@ -4724,7 +4724,7 @@ err_out: | |||
4724 | 4724 | ||
4725 | 4725 | ||
4726 | /* Flush the tape buffer before close */ | 4726 | /* Flush the tape buffer before close */ |
4727 | static int os_scsi_tape_flush(struct file * filp) | 4727 | static int os_scsi_tape_flush(struct file * filp, fl_owner_t id) |
4728 | { | 4728 | { |
4729 | int result = 0, result2; | 4729 | int result = 0, result2; |
4730 | struct osst_tape * STp = filp->private_data; | 4730 | struct osst_tape * STp = filp->private_data; |
diff --git a/drivers/scsi/st.c b/drivers/scsi/st.c index ad87d73f88ee..1272dd249af3 100644 --- a/drivers/scsi/st.c +++ b/drivers/scsi/st.c | |||
@@ -1193,7 +1193,7 @@ static int st_open(struct inode *inode, struct file *filp) | |||
1193 | 1193 | ||
1194 | 1194 | ||
1195 | /* Flush the tape buffer before close */ | 1195 | /* Flush the tape buffer before close */ |
1196 | static int st_flush(struct file *filp) | 1196 | static int st_flush(struct file *filp, fl_owner_t id) |
1197 | { | 1197 | { |
1198 | int result = 0, result2; | 1198 | int result = 0, result2; |
1199 | unsigned char cmd[MAX_COMMAND_SIZE]; | 1199 | unsigned char cmd[MAX_COMMAND_SIZE]; |