Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 172935
b: refs/heads/master
c: 476d42f
h: refs/heads/master
i:
  172933: a0c0dc1
  172931: 7503bd5
  172927: 9836968
v: v3
  • Loading branch information
H Hartley Sweeten authored and Jens Axboe committed Nov 4, 2009
1 parent afd904c commit 667ec0e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: cc56f7de7f00d188c7c4da1e9861581853b9e92f
refs/heads/master: 476d42f138ba82389a92a894d8a630a70d36278f
6 changes: 4 additions & 2 deletions trunk/block/scsi_ioctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@
struct blk_cmd_filter {
unsigned long read_ok[BLK_SCSI_CMD_PER_LONG];
unsigned long write_ok[BLK_SCSI_CMD_PER_LONG];
} blk_default_cmd_filter;
};

static struct blk_cmd_filter blk_default_cmd_filter;

/* Command group 3 is reserved and should never be used. */
const unsigned char scsi_command_size_tbl[8] =
Expand Down Expand Up @@ -675,7 +677,7 @@ int scsi_cmd_ioctl(struct request_queue *q, struct gendisk *bd_disk, fmode_t mod
}
EXPORT_SYMBOL(scsi_cmd_ioctl);

int __init blk_scsi_ioctl_init(void)
static int __init blk_scsi_ioctl_init(void)
{
blk_set_cmd_filter_defaults(&blk_default_cmd_filter);
return 0;
Expand Down

0 comments on commit 667ec0e

Please sign in to comment.