Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 117525
b: refs/heads/master
c: 961846c
h: refs/heads/master
i:
  117523: 41a2ab8
v: v3
  • Loading branch information
Al Viro committed Oct 21, 2008
1 parent 81ded3d commit ca406e5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 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: 4e1098529816994fc1513050cd52bbe6e0dbf2cc
refs/heads/master: 961846ca5aae2f39d061e057ae6ad0b54b134008
4 changes: 2 additions & 2 deletions trunk/drivers/block/xd.c
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ static int xd_getgeo(struct block_device *bdev, struct hd_geometry *geo);

static struct block_device_operations xd_fops = {
.owner = THIS_MODULE,
.__ioctl = xd_ioctl,
.locked_ioctl = xd_ioctl,
.getgeo = xd_getgeo,
};
static DECLARE_WAIT_QUEUE_HEAD(xd_wait_int);
Expand Down Expand Up @@ -343,7 +343,7 @@ static int xd_getgeo(struct block_device *bdev, struct hd_geometry *geo)
}

/* xd_ioctl: handle device ioctl's */
static int xd_ioctl (struct inode *inode,struct file *file,u_int cmd,u_long arg)
static int xd_ioctl(struct block_device *bdev, fmode_t mode, u_int cmd, u_long arg)
{
switch (cmd) {
case HDIO_SET_DMA:
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/block/xd.h
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ static u_char xd_detect (u_char *controller, unsigned int *address);
static u_char xd_initdrives (void (*init_drive)(u_char drive));

static void do_xd_request (struct request_queue * q);
static int xd_ioctl (struct inode *inode,struct file *file,unsigned int cmd,unsigned long arg);
static int xd_ioctl (struct block_device *bdev,fmode_t mode,unsigned int cmd,unsigned long arg);
static int xd_readwrite (u_char operation,XD_INFO *disk,char *buffer,u_int block,u_int count);
static void xd_recalibrate (u_char drive);

Expand Down

0 comments on commit ca406e5

Please sign in to comment.