aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/osst.c
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2006-06-24 08:41:41 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2006-06-24 13:07:53 -0400
commit816724e65c72a90a44fbad0ef0b59b186c85fa90 (patch)
tree421fa29aedff988e392f92780637553e275d37a0 /drivers/scsi/osst.c
parent70ac4385a13f78bc478f26d317511893741b05bd (diff)
parentd384ea691fe4ea8c2dd5b9b8d9042eb181776f18 (diff)
Merge branch 'master' of /home/trondmy/kernel/linux-2.6/
Conflicts: fs/nfs/inode.c fs/super.c Fix conflicts between patch 'NFS: Split fs/nfs/inode.c' and patch 'VFS: Permit filesystem to override root dentry on mount'
Diffstat (limited to 'drivers/scsi/osst.c')
-rw-r--r--drivers/scsi/osst.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/scsi/osst.c b/drivers/scsi/osst.c
index e3bd4bc339f4..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 */
4727static int os_scsi_tape_flush(struct file * filp) 4727static 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;
@@ -5492,7 +5492,7 @@ static int __init osst_setup (char *str)
5492 char *stp; 5492 char *stp;
5493 5493
5494 stp = get_options(str, ARRAY_SIZE(ints), ints); 5494 stp = get_options(str, ARRAY_SIZE(ints), ints);
5495 5495
5496 if (ints[0] > 0) { 5496 if (ints[0] > 0) {
5497 for (i = 0; i < ints[0] && i < ARRAY_SIZE(parms); i++) 5497 for (i = 0; i < ints[0] && i < ARRAY_SIZE(parms); i++)
5498 *parms[i].val = ints[i + 1]; 5498 *parms[i].val = ints[i + 1];
@@ -5507,7 +5507,7 @@ static int __init osst_setup (char *str)
5507 break; 5507 break;
5508 } 5508 }
5509 } 5509 }
5510 if (i >= sizeof(parms) / sizeof(struct osst_dev_parm)) 5510 if (i >= ARRAY_SIZE(parms))
5511 printk(KERN_INFO "osst :I: Illegal parameter in '%s'\n", 5511 printk(KERN_INFO "osst :I: Illegal parameter in '%s'\n",
5512 stp); 5512 stp);
5513 stp = strchr(stp, ','); 5513 stp = strchr(stp, ',');