exofs: Remove unused data_map member from exofs_sb_info
authorBoaz Harrosh <bharrosh@panasas.com>
Wed, 10 Aug 2011 21:15:02 +0000 (14:15 -0700)
committerBoaz Harrosh <bharrosh@panasas.com>
Mon, 3 Oct 2011 15:07:51 +0000 (17:07 +0200)
commit8d2d83a8352b0f9c1da82c36f741722f2960feea
tree4a96539dce29c654def762d502b41da8de7cbce7
parent5bf696dad4beecb6174e701c97e1f2574e6a2c96
exofs: Remove unused data_map member from exofs_sb_info

The struct pnfs_osd_data_map data_map member of exofs_sb_info was
never used after mount. In fact all it's members were duplicated
by the ore_layout structure. So just remove the duplicated information.

Also removed some stupid, but perfectly supported, restrictions on
layout parameters. The case where num_devices is not divisible by
mirror_count+1 is perfectly fine since the rotating device view
will eventually use all the devices it can get.

Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
Signed-off-by: Benny Halevy <bhalevy@tonian.com>
fs/exofs/exofs.h
fs/exofs/super.c
include/scsi/osd_ore.h