aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide-gd.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ide/ide-gd.c')
-rw-r--r--drivers/ide/ide-gd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ide/ide-gd.c b/drivers/ide/ide-gd.c
index 047109419902..c51a35093ae2 100644
--- a/drivers/ide/ide-gd.c
+++ b/drivers/ide/ide-gd.c
@@ -182,7 +182,7 @@ static int ide_gd_open(struct block_device *bdev, fmode_t mode)
182 182
183 drive = idkp->drive; 183 drive = idkp->drive;
184 184
185 ide_debug_log(IDE_DBG_FUNC, "Call %s\n", __func__); 185 ide_debug_log(IDE_DBG_FUNC, "enter");
186 186
187 idkp->openers++; 187 idkp->openers++;
188 188
@@ -232,7 +232,7 @@ static int ide_gd_release(struct gendisk *disk, fmode_t mode)
232 struct ide_disk_obj *idkp = ide_drv_g(disk, ide_disk_obj); 232 struct ide_disk_obj *idkp = ide_drv_g(disk, ide_disk_obj);
233 ide_drive_t *drive = idkp->drive; 233 ide_drive_t *drive = idkp->drive;
234 234
235 ide_debug_log(IDE_DBG_FUNC, "Call %s\n", __func__); 235 ide_debug_log(IDE_DBG_FUNC, "enter");
236 236
237 if (idkp->openers == 1) 237 if (idkp->openers == 1)
238 drive->disk_ops->flush(drive); 238 drive->disk_ops->flush(drive);