]> Pileus Git - ~andy/linux/blobdiff - drivers/md/dm-log.c
md/raid1: delay reads that could overtake behind-writes.
[~andy/linux] / drivers / md / dm-log.c
index 7035582786fbd93de70855febce53aac1d283e09..5a08be0222dbee7f27e89942c6ef4458cbcf633a 100644 (file)
@@ -543,8 +543,7 @@ static int disk_ctr(struct dm_dirty_log *log, struct dm_target *ti,
                return -EINVAL;
        }
 
-       r = dm_get_device(ti, argv[0], 0, 0 /* FIXME */,
-                         FMODE_READ | FMODE_WRITE, &dev);
+       r = dm_get_device(ti, argv[0], FMODE_READ | FMODE_WRITE, &dev);
        if (r)
                return r;