diff options
Diffstat (limited to 'fs/exofs/ore.c')
-rw-r--r-- | fs/exofs/ore.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/exofs/ore.c b/fs/exofs/ore.c index c2b0033a724b..a7d79257fc65 100644 --- a/fs/exofs/ore.c +++ b/fs/exofs/ore.c | |||
@@ -59,7 +59,7 @@ static struct osd_obj_id *_ios_obj(struct ore_io_state *ios, unsigned index) | |||
59 | 59 | ||
60 | static struct osd_dev *_ios_od(struct ore_io_state *ios, unsigned index) | 60 | static struct osd_dev *_ios_od(struct ore_io_state *ios, unsigned index) |
61 | { | 61 | { |
62 | return ios->oc->ods[index]; | 62 | return ore_comp_dev(ios->oc, index); |
63 | } | 63 | } |
64 | 64 | ||
65 | int ore_get_rw_state(struct ore_layout *layout, struct ore_components *oc, | 65 | int ore_get_rw_state(struct ore_layout *layout, struct ore_components *oc, |