dm-linear.c (fd7c092e711ebab55b2688d3859d95dfd0301f73) | dm-linear.c (55a62eef8d1b50ceff3b7bf46851103bdcc7e5b0) |
---|---|
1/* 2 * Copyright (C) 2001-2003 Sistina Software (UK) Limited. 3 * 4 * This file is released under the GPL. 5 */ 6 7#include "dm.h" 8#include <linux/module.h> --- 39 unchanged lines hidden (view full) --- 48 } 49 lc->start = tmp; 50 51 if (dm_get_device(ti, argv[0], dm_table_get_mode(ti->table), &lc->dev)) { 52 ti->error = "dm-linear: Device lookup failed"; 53 goto bad; 54 } 55 | 1/* 2 * Copyright (C) 2001-2003 Sistina Software (UK) Limited. 3 * 4 * This file is released under the GPL. 5 */ 6 7#include "dm.h" 8#include <linux/module.h> --- 39 unchanged lines hidden (view full) --- 48 } 49 lc->start = tmp; 50 51 if (dm_get_device(ti, argv[0], dm_table_get_mode(ti->table), &lc->dev)) { 52 ti->error = "dm-linear: Device lookup failed"; 53 goto bad; 54 } 55 |
56 ti->num_flush_requests = 1; 57 ti->num_discard_requests = 1; 58 ti->num_write_same_requests = 1; | 56 ti->num_flush_bios = 1; 57 ti->num_discard_bios = 1; 58 ti->num_write_same_bios = 1; |
59 ti->private = lc; 60 return 0; 61 62 bad: 63 kfree(lc); 64 return -EINVAL; 65} 66 --- 115 unchanged lines hidden --- | 59 ti->private = lc; 60 return 0; 61 62 bad: 63 kfree(lc); 64 return -EINVAL; 65} 66 --- 115 unchanged lines hidden --- |